[auth][types] AuthProvider.credential token allow null or string explicitly
This commit is contained in:
parent
097316b63b
commit
0c46523045
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue