Skip to content

Commit 3a22894

Browse files
Update shim.ts
1 parent 9263214 commit 3a22894

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/firestore/exp/test/shim.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -749,6 +749,8 @@ function unwwrap(value: any): any {
749749
if (Array.isArray(value)) {
750750
return value.map(v => unwwrap(v));
751751
} else if (value instanceof FieldPath) {
752+
return value._delegate;
753+
} else if (value instanceof FieldValue) {
752754
return value._delegate;
753755
} else if (value instanceof DocumentReference) {
754756
return value._delegate;

0 commit comments

Comments
 (0)