Type declaration of AuthProvider.credential allows null token
This commit is contained in:
parent
619cd17516
commit
40b9c4d339
2
src/index.d.ts
vendored
2
src/index.d.ts
vendored
@ -853,7 +853,7 @@ declare module 'react-native-firebase' {
|
||||
|
||||
type AuthProvider = {
|
||||
PROVIDER_ID: string;
|
||||
credential: (token: string, secret?: string) => AuthCredential;
|
||||
credential: (token?: string, secret?: string) => AuthCredential;
|
||||
};
|
||||
|
||||
type EmailAuthProvider = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user