Merge pull request #1400 from PatronGG/nullable-idtoken-string

Type declaration of AuthProvider.credential allows null token
This commit is contained in:
Michael Diarmid 2018-08-15 22:47:33 +01:00 committed by GitHub
commit 8358144259
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
src/index.d.ts vendored
View File

@ -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 = {