Notify.JS - Notify.isSupported is a method in 1.2.8

Notify.isSupported is typed as a property, but it is actually a method these days.
https://github.com/alexgibson/notify.js/commit/6133f4daf64f9e3ff94957b50f9aca04a5a434e1
This commit is contained in:
Christiaan Rakowski
2016-01-02 22:05:54 +01:00
parent 9922ede51b
commit 54e9dfc280
+2 -2
View File
@@ -1,4 +1,4 @@
// Type definitions for notify.js 1.2.3
// Type definitions for notify.js 1.2.8
// Project: https://github.com/alexgibson/notify.js
// Definitions by: soundTricker <https://github.com/soundTricker>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
@@ -23,7 +23,7 @@ declare var Notify: {
* return true if the browser supports HTML5 Notification
* @param true : the browser supports HTML5 Notification, false ; the browser does not supports HTML5 Notification.
*/
isSupported: boolean;
isSupported(): boolean;
/**
* shows the user's current permission level (granted, denied or default), returns null if notifications are not supported.