mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-11-02 13:03:22 +00:00
typings: Get requestIdleCallback from DefinitelyTyped.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
3
typings.d.ts
vendored
3
typings.d.ts
vendored
@@ -9,9 +9,6 @@ interface PageParamsObject {
|
||||
}
|
||||
declare var page_params: PageParamsObject;
|
||||
|
||||
// since requestIdleCallback didn't make it into lib.dom.d.ts yet
|
||||
declare function requestIdleCallback(callback: Function, options?: object): void;
|
||||
|
||||
// Patch Notification object so we can implement our side
|
||||
// of Notification classes which we export into zulip side through
|
||||
// preload.js; if we don't do his extending Notification will throw error.
|
||||
|
||||
Reference in New Issue
Block a user