Skip to content

Commit b78e49c

Browse files
committed
fixing bundler errors
1 parent 4300d65 commit b78e49c

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

packages/firestore/src/lite-api/stage.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ import { Pipeline } from './pipeline';
4444
import { StageOptions } from './stage_options';
4545
import { isUserData, UserData } from './user_data_reader';
4646

47-
import Value = firestoreV1ApiClientInterfaces.Value;
48-
4947
/**
5048
* @beta
5149
*/
@@ -56,7 +54,9 @@ export abstract class Stage implements ProtoSerializable<ProtoStage>, UserData {
5654
* @internal
5755
* @protected
5856
*/
59-
protected optionsProto: ApiClientObjectMap<Value> | undefined = undefined;
57+
protected optionsProto:
58+
| ApiClientObjectMap<firestoreV1ApiClientInterfaces.Value>
59+
| undefined = undefined;
6060
protected knownOptions: Record<string, unknown>;
6161
protected rawOptions?: Record<string, unknown>;
6262

packages/firestore/src/platform/rn_lite/snapshot_to_json.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,10 @@
1616
*/
1717

1818
export { toByteStreamReader } from '../browser/byte_stream_reader';
19+
20+
// This is not included in the RN lite-bundle, but the rollup build
21+
// will fail if these exports are not defined.
22+
export {
23+
buildDocumentSnapshotJsonBundle,
24+
buildQuerySnapshotJsonBundle
25+
} from '../browser/snapshot_to_json';

0 commit comments

Comments
 (0)