Merge pull request #1400 from PatronGG/nullable-idtoken-string
Type declaration of AuthProvider.credential allows null token
This commit is contained in:
commit
8358144259
|
@ -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…
Reference in New Issue