20 lines
419 B
TypeScript
20 lines
419 B
TypeScript
|
interface System {
|
||
|
import(name: string): Promise<any>;
|
||
|
defined: any;
|
||
|
amdDefine: () => void;
|
||
|
amdRequire: () => void;
|
||
|
baseURL: string;
|
||
|
paths: { [key: string]: string };
|
||
|
meta: { [key: string]: Object };
|
||
|
config: any;
|
||
|
newModule(obj: Object): any;
|
||
|
normalizeSync(name: string): string;
|
||
|
set(moduleName: string, module: any)
|
||
|
}
|
||
|
|
||
|
|
||
|
declare var System: System;
|
||
|
|
||
|
declare module "systemjs" {
|
||
|
export = System;
|
||
|
}
|