wallet-core/decl/systemjs/systemjs.d.ts
2016-11-14 01:28:37 +01:00

20 lines
426 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): void;
}
declare var System: System;
declare module "systemjs" {
export = System;
}