Skip to content

Commit 2e22d5b

Browse files
authored
firestore-compat: fix typing error in fields.test.ts: TS2339: Property 'ignoreUndefinedProperties' does not exist on type '{ host: string; ssl: boolean; }' (#7108)
1 parent 497c38a commit 2e22d5b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/firestore-compat/test/fields.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,8 +387,7 @@ apiDescribe('Timestamp Fields in snapshots', (persistence: boolean) => {
387387
});
388388

389389
apiDescribe('`undefined` properties', (persistence: boolean) => {
390-
const settings = { ...DEFAULT_SETTINGS };
391-
settings.ignoreUndefinedProperties = true;
390+
const settings = { ...DEFAULT_SETTINGS, ignoreUndefinedProperties: true };
392391

393392
it('are ignored in set()', () => {
394393
return withTestDocAndSettings(persistence, settings, async doc => {

0 commit comments

Comments
 (0)