mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
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:
Vendored
+2
-2
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user