[auth][types] AuthProvider.credential token allow null or string explicitly

This commit is contained in:
Salakar 2018-08-16 06:38:58 +01:00
parent 097316b63b
commit 0c46523045
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 | null, secret?: string) => AuthCredential;
};
type EmailAuthProvider = {