diff options
Diffstat (limited to 'extension/lib/decl/systemjs/systemjs.d.ts')
-rw-r--r-- | extension/lib/decl/systemjs/systemjs.d.ts | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/extension/lib/decl/systemjs/systemjs.d.ts b/extension/lib/decl/systemjs/systemjs.d.ts new file mode 100644 index 000000000..1d826aebb --- /dev/null +++ b/extension/lib/decl/systemjs/systemjs.d.ts @@ -0,0 +1,20 @@ +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; +}
\ No newline at end of file |