mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-11-03 13:33:18 +00:00
18 lines
562 B
TypeScript
18 lines
562 B
TypeScript
// TODO: TypeScript - Remove this when the typescript migration
|
|
// is done. Ideally we would do declare module only for our modules
|
|
// that are not yet converted but relative path module declaration
|
|
// are not supported
|
|
declare module '*';
|
|
|
|
declare var page_params: any;
|
|
|
|
// since requestIdleCallback didn't make it into lib.dom.d.ts yet
|
|
declare function requestIdleCallback(callback: Function, options?: object): void;
|
|
|
|
// This is mostly zulip side of code we access from window
|
|
interface Window {
|
|
$: any;
|
|
narrow: any
|
|
Notification: typeof Notification;
|
|
}
|