2
0
mirror of synced 2025-02-10 13:26:22 +00:00

Fix implicit 'any' and incorrect placement of optional boolean in getIdToken

This commit is contained in:
Paul Huynh 2018-01-30 21:14:35 +11:00
parent 7f394b56e5
commit 90195769fd

4
lib/index.d.ts vendored
View File

@ -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;
} }
/** /**