adds getToken(string,string) and deleteToken(string,string) to typings

This commit is contained in:
Case Taintor 2018-06-18 15:59:21 +02:00
parent 3652a05848
commit 96783d46eb
1 changed files with 2 additions and 0 deletions

2
lib/index.d.ts vendored
View File

@ -1088,6 +1088,8 @@ declare module 'react-native-firebase' {
interface InstanceId {
delete(): Promise<void>;
get(): Promise<string>;
getToken(authorizedEntity: string, scope: string): Promise<string>;
deleteToken(authorizedEntity: string, scope: string): Promise<void>;
}
}