[types][iid] getToken & deleteToken now have option args with defaults that use `app.options.messagingSenderId` as authorizedEntity and '*' as scope
This commit is contained in:
parent
aa12de3248
commit
6a7d3ddc7a
|
@ -1089,8 +1089,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>;
|
||||
getToken(authorizedEntity?: string, scope?: string): Promise<string>;
|
||||
deleteToken(authorizedEntity?: string, scope?: string): Promise<void>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue