Skip to content

Commit

Permalink
Revert "Fix #787"
Browse files Browse the repository at this point in the history
This reverts commit 0b5f392.
  • Loading branch information
jshcrowthe committed May 8, 2018
1 parent 0b5f392 commit 90a071a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/auth-types/index.d.ts
Expand Up @@ -268,12 +268,12 @@ export class FirebaseAuth {
languageCode: string | null;
settings: AuthSettings;
onAuthStateChanged(
nextOrObserver: Observer<any> | ((a: User | null) => any),
nextOrObserver: Observer<any, any> | ((a: User | null) => any),
error?: (a: Error) => any,
completed?: Unsubscribe
): Unsubscribe;
onIdTokenChanged(
nextOrObserver: Observer<any> | ((a: User | null) => any),
nextOrObserver: Observer<any, any> | ((a: User | null) => any),
error?: (a: Error) => any,
completed?: Unsubscribe
): Unsubscribe;
Expand Down
2 changes: 1 addition & 1 deletion packages/storage-types/index.d.ts
Expand Up @@ -77,7 +77,7 @@ export interface UploadTask {
on(
event: TaskEvent,
nextOrObserver?:
| Observer<UploadTaskSnapshot>
| Observer<UploadTaskSnapshot, Error>
| null
| ((a: UploadTaskSnapshot) => any),
error?: ((a: Error) => any) | null,
Expand Down

0 comments on commit 90a071a

Please sign in to comment.