Fix implicit 'any' and incorrect placement of optional boolean in getIdToken
This commit is contained in:
parent
7f394b56e5
commit
90195769fd
4
lib/index.d.ts
vendored
4
lib/index.d.ts
vendored
@ -583,7 +583,7 @@ declare module "react-native-firebase" {
|
|||||||
*
|
*
|
||||||
* @param forceRefresh: boolean - default to false
|
* @param forceRefresh: boolean - default to false
|
||||||
*/
|
*/
|
||||||
getIdToken(forceRefresh: boolean?): Promise<string>
|
getIdToken(forceRefresh?: boolean): Promise<string>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Link the user with a 3rd party credential provider.
|
* Link the user with a 3rd party credential provider.
|
||||||
@ -1041,7 +1041,7 @@ declare module "react-native-firebase" {
|
|||||||
* Returns an unsubscribe function, call the returned function to
|
* Returns an unsubscribe function, call the returned function to
|
||||||
* unsubscribe from all future events.
|
* unsubscribe from all future events.
|
||||||
*/
|
*/
|
||||||
onLink(listener: (url) => void): () => void;
|
onLink(listener: (url: string) => void): () => void;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user