Specify promise arg
This commit is contained in:
parent
920e3346dc
commit
743e54f9bb
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ export default class BasePlatform {
|
|||
* that is 'granted' if the user allowed the request or
|
||||
* 'denied' otherwise.
|
||||
*/
|
||||
requestNotificationPermission() : Promise {
|
||||
requestNotificationPermission() : Promise<string> {
|
||||
}
|
||||
|
||||
displayNotification(title: string, msg: string, avatarUrl: string) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue