-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeclarations.d.ts
More file actions
32 lines (22 loc) · 881 Bytes
/
declarations.d.ts
File metadata and controls
32 lines (22 loc) · 881 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
declare var module: any;
declare module "react-hot-loader";
declare var require: {
(path: string): any;
(paths: string[], callback: (...modules: any[]) => void): void;
ensure: (paths: string[], callback: (require: <T>(path: string) => T) => void) => void;
}
declare function fetch<T>(url : string , options? : Object) : PromiseLike<T>;
declare interface Element {
attachEvent(type : string,handler :(event : any)=>void) : void;
detachEvent(type : string,handler :(event : any)=>void) : void;
}
declare interface Document {
attachEvent(type : string,handler :(event : any)=>void) : void;
detachEvent(type : string,handler :(event : any)=>void) : void;
}
// declare namespace process {
// export namespace env {
// export const NODE_ENV;
// }
// }
// declare const __webpack_public_path__ : string;