-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_definitions.d.ts
More file actions
43 lines (33 loc) · 916 Bytes
/
_definitions.d.ts
File metadata and controls
43 lines (33 loc) · 916 Bytes
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
43
/// <reference path="typings/jquery/jquery.d.ts" />
/// <reference path="typings/modernizr/modernizr.d.ts" />
/// <reference path="bower_components/promizr/promise.d.ts" />
/// <reference path="src/base.d.ts" />
interface MSApp {
execUnsafeLocalFunction<T>(cb: () => T);
}
declare function escape(text: string): string;
declare function unescape(text: string): string;
interface Function {
result?: any; // Memoization Pattern
}
interface StyleSheet {
cssText: string;
}
interface HTMLStyleElement {
styleSheet: StyleSheet;
}
interface IDBEvent extends Event {
target: IDBEventTarget;
}
interface IDBEventTarget extends EventTarget {
result: any;
}
interface IDBVersionChangeEvent {
target: IDBVersionChangeEventTarget;
}
interface IDBVersionChangeEventTarget extends IDBEventTarget {
transaction?: IDBTransaction;
}
declare module "modernizr" {
export = Modernizr;
}