Skip to content

Commit 6c773c5

Browse files
committed
Fix issue introduced in merge and conflict between prettier and lint:fix
1 parent eeaf2e1 commit 6c773c5

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,12 @@ export type AddPrefixToKeys<
7575
// This is a significant downside to using index signatures in types for `T`
7676
// for `UpdateData<T>`.
7777

78-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
7978
{
79+
/* eslint-disable @typescript-eslint/no-explicit-any */
8080
[K in keyof T & string as `${Prefix}.${K}`]+?: string extends K
8181
? any
8282
: T[K];
83+
/* eslint-enable @typescript-eslint/no-explicit-any */
8384
};
8485

8586
/**

packages/firestore/test/unit/lite-api/types.test.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -507,9 +507,6 @@ describe('UpdateData - v9', () => {
507507
_ = {
508508
'layer.indexed.bar.booleanProperty': true
509509
};
510-
_ = {
511-
'unknown.indexed.bar.booleanProperty': true
512-
};
513510

514511
// allows the property, but does not enforce type
515512
_ = {

0 commit comments

Comments
 (0)