mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-01-12 22:50:20 +08:00
[auth][types] AuthProvider.credential token allow null or string explicitly
This commit is contained in:
2
src/index.d.ts
vendored
2
src/index.d.ts
vendored
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user