1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00

Specify promise arg

This commit is contained in:
David Baker
2016-11-02 19:23:09 +00:00
parent 920e3346dc
commit 743e54f9bb

View File

@@ -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) {