2
0
mirror of synced 2025-01-31 08:34:53 +00:00

Type declaration of AuthProvider.credential allows null token

This commit is contained in:
Gustavo Brunoro 2018-08-14 01:03:17 -03:00
parent 619cd17516
commit 40b9c4d339

2
src/index.d.ts vendored
View File

@ -853,7 +853,7 @@ declare module 'react-native-firebase' {
type AuthProvider = { type AuthProvider = {
PROVIDER_ID: string; PROVIDER_ID: string;
credential: (token: string, secret?: string) => AuthCredential; credential: (token?: string, secret?: string) => AuthCredential;
}; };
type EmailAuthProvider = { type EmailAuthProvider = {