We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6295a5c commit 8d60990Copy full SHA for 8d60990
1 file changed
packages/firestore/lib/utils/index.ts
@@ -196,7 +196,7 @@ export function parseSnapshotArgs(args: unknown[]): ParseSnapshotArgsResult {
196
}
197
198
if (isObject(args[0]) && !isPartialObserver(args[0])) {
199
- const opts = args[0] as { includeMetadataChanges?: boolean; source?: 'default' | 'cache' };
+ const opts = args[0] as { includeMetadataChanges?: boolean; source?: ListenSource };
200
snapshotListenOptions.includeMetadataChanges =
201
opts.includeMetadataChanges == null ? false : opts.includeMetadataChanges;
202
snapshotListenOptions.source = opts.source == null ? 'default' : opts.source;
0 commit comments