Skip to content

Commit c0dca8b

Browse files
committed
style(lint): yarn lint:js --fix
1 parent 6a8b25b commit c0dca8b

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

packages/firestore/lib/index.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2322,10 +2322,10 @@ export namespace FirebaseFirestoreTypes {
23222322
export type SetValue<T> = T extends Timestamp
23232323
? Timestamp | Date // allow Date in place of Timestamp
23242324
: T extends object
2325-
? {
2326-
[P in keyof T]: SetValue<T[P]> | FieldValue; // allow FieldValue in place of values
2327-
}
2328-
: T;
2325+
? {
2326+
[P in keyof T]: SetValue<T[P]> | FieldValue; // allow FieldValue in place of values
2327+
}
2328+
: T;
23292329
}
23302330

23312331
declare const defaultExport: ReactNativeFirebase.FirebaseModuleWithStaticsAndApp<

packages/firestore/lib/modular/index.d.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ export type PartialWithFieldValue<T> =
2222
| (T extends Primitive
2323
? T
2424
: T extends object
25-
? { [K in keyof T]?: PartialWithFieldValue<T[K]> | FieldValue }
26-
: never);
25+
? { [K in keyof T]?: PartialWithFieldValue<T[K]> | FieldValue }
26+
: never);
2727

2828
/**
2929
* Given a union type `U = T1 | T2 | ...`, returns an intersected type (`T1 & T2 & ...`).
@@ -78,10 +78,10 @@ export declare type NestedUpdateFields<T extends Record<string, unknown>> = Unio
7878
export declare type UpdateData<T> = T extends Primitive
7979
? T
8080
: T extends object
81-
? {
82-
[K in keyof T]?: UpdateData<T[K]> | FieldValue;
83-
} & NestedUpdateFields<T>
84-
: Partial<T>;
81+
? {
82+
[K in keyof T]?: UpdateData<T[K]> | FieldValue;
83+
} & NestedUpdateFields<T>
84+
: Partial<T>;
8585

8686
/**
8787
* Allows FieldValues to be passed in as a property value while maintaining
@@ -92,8 +92,8 @@ export type WithFieldValue<T> =
9292
| (T extends Primitive
9393
? T
9494
: T extends object
95-
? { [K in keyof T]: WithFieldValue<T[K]> | FieldValue }
96-
: never);
95+
? { [K in keyof T]: WithFieldValue<T[K]> | FieldValue }
96+
: never);
9797

9898
/**
9999
* Returns the existing default {@link Firestore} instance that is associated with the

0 commit comments

Comments
 (0)