forked from MALSync/MALSync
-
Notifications
You must be signed in to change notification settings - Fork 0
/
globals.d.ts
42 lines (37 loc) · 923 Bytes
/
globals.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/* eslint-disable no-redeclare */
import * as _utils from './src/utils/general';
import * as webextension from './src/api/webextension';
import * as _console from './src/utils/console';
type ConsoleType = typeof _console;
type UtilsType = typeof _utils;
type WebExtensionType = typeof webextension;
declare global {
let con: ConsoleType;
let utils: UtilsType;
let j: {
$: JQueryStatic;
html: (content: string) => string;
};
let api: WebExtensionType;
let __MAL_SYNC_KEYS__: {
simkl: {
id: string;
secret: string;
};
};
interface Window {
/**
* @deprecated
* @see @link https://developer.mozilla.org/en-US/docs/Web/API/Window/fullScreen
*/
fullScreen: boolean;
}
interface Document {
webkitIsFullScreen: boolean;
mozFullScreen: boolean;
msFullscreenElement: Element;
}
type ObjectAnyType = {
[x in string | number]: any;
};
}