Skip to content

Commit 43c0c18

Browse files
committed
PR Feedback
1 parent a3d6f63 commit 43c0c18

File tree

1 file changed

+4
-10
lines changed
  • packages-exp/auth-compat-exp/src

1 file changed

+4
-10
lines changed

packages-exp/auth-compat-exp/src/auth.ts

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -120,13 +120,9 @@ export class Auth extends AuthImplCompat<User> implements compat.FirebaseAuth {
120120
}
121121
return convertCredential(Promise.resolve(credential));
122122
}
123-
// languageCode: string | null;
124-
// settings: AuthSettings;
125123
onAuthStateChanged(
126-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
127-
nextOrObserver: Observer<any> | ((a: compat.User | null) => any),
128-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
129-
error?: (error: compat.Error) => any,
124+
nextOrObserver: Observer<unknown> | ((a: compat.User | null) => unknown),
125+
error?: (error: compat.Error) => unknown,
130126
completed?: Unsubscribe
131127
): Unsubscribe {
132128
return super._onAuthStateChanged(
@@ -136,10 +132,8 @@ export class Auth extends AuthImplCompat<User> implements compat.FirebaseAuth {
136132
);
137133
}
138134
onIdTokenChanged(
139-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
140-
nextOrObserver: Observer<any> | ((a: compat.User | null) => any),
141-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
142-
error?: (error: compat.Error) => any,
135+
nextOrObserver: Observer<unknown> | ((a: compat.User | null) => unknown),
136+
error?: (error: compat.Error) => unknown,
143137
completed?: Unsubscribe
144138
): Unsubscribe {
145139
return super._onIdTokenChanged(

0 commit comments

Comments
 (0)