wallet-core/extension/lib/decl/systemjs/systemjs.d.ts
Florian Dold 473503a246 The great modularization.
Use ES6 module syntax and SystemJS modules for everything.

Some testing stubs were added as well.
2016-01-10 20:07:42 +01:00

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;
}