Skip to content

Commit 8025369

Browse files
committed
[AUTOMATED]: Prettier Code Styling
1 parent 3e1ea9b commit 8025369

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

packages/storage/src/implementation/observer.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,11 @@ export class Observer<T> {
3939
complete: CompleteFn | null;
4040

4141
constructor(
42-
nextOrObserver: NextFn<T> | { [name: string]: string | null } | null | undefined,
42+
nextOrObserver:
43+
| NextFn<T>
44+
| { [name: string]: string | null }
45+
| null
46+
| undefined,
4347
opt_error?: ErrorFn | null | undefined,
4448
opt_complete?: CompleteFn | null
4549
) {

packages/storage/src/task.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,11 @@ export class UploadTask {
455455
*/
456456
on(
457457
type: TaskEvent,
458-
nextOrObserver: NextFn<UploadTaskSnapshot> | { [name: string]: any } | null | undefined = undefined,
458+
nextOrObserver:
459+
| NextFn<UploadTaskSnapshot>
460+
| { [name: string]: any }
461+
| null
462+
| undefined = undefined,
459463
error: ErrorFn | null | undefined = undefined,
460464
completed: CompleteFn | null | undefined = undefined
461465
): Unsubscribe | Subscribe<UploadTaskSnapshot> {

packages/storage/test/testshared.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,10 @@ export function bind(f: Function, ctx: any, ...args: any[]): () => void {
9393
};
9494
}
9595

96-
export function assertThrows(f: () => void, code: Code): FirebaseStorageError | null {
96+
export function assertThrows(
97+
f: () => void,
98+
code: Code
99+
): FirebaseStorageError | null {
97100
let captured: FirebaseStorageError | null = null;
98101
expect(() => {
99102
try {

0 commit comments

Comments
 (0)