mirror of https://github.com/vector-im/riot-web
Specify promise arg
parent
920e3346dc
commit
743e54f9bb
|
@ -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…
Reference in New Issue