Skip to content

Commit 2c0faa2

Browse files
Fix lite/.../query.ts
1 parent c2f951e commit 2c0faa2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/firestore/lite/src/api/query.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ import {
9696
} from '../../../src/model/path';
9797
import { Value as ProtoValue } from '../../../src/protos/firestore_proto_api';
9898
import { refValue } from '../../../src/model/values';
99-
import { DocumentReference as ExpDocumentReference } from '../../../exp/src/api/reference';
10099
import { isServerTimestamp } from '../../../src/model/server_timestamps';
101100

102101
export class LiteUserDataWriter extends AbstractUserDataWriter {
@@ -1099,7 +1098,7 @@ function parseDocumentIdValue(
10991098
);
11001099
}
11011100
return refValue(databaseId, new DocumentKey(path));
1102-
} else if (documentIdValue instanceof ExpDocumentReference) {
1101+
} else if (documentIdValue instanceof DocumentReference) {
11031102
return refValue(databaseId, documentIdValue._key);
11041103
} else {
11051104
throw new FirestoreError(

0 commit comments

Comments
 (0)