aboutsummaryrefslogtreecommitdiff
path: root/lib/decl/systemjs
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-02-29 18:03:02 +0100
committerFlorian Dold <florian.dold@gmail.com>2016-02-29 18:03:02 +0100
commitc962e9402123900c53967c14cf809ea10576cdb8 (patch)
treee7df9cfdd6fceae30fb99c8ec6be5e07c8b153a8 /lib/decl/systemjs
parent30ee3320c788129b258ed8b42f4fc63d28431e2f (diff)
downloadwallet-core-c962e9402123900c53967c14cf809ea10576cdb8.tar.xz
restructure
Diffstat (limited to 'lib/decl/systemjs')
-rw-r--r--lib/decl/systemjs/systemjs.d.ts20
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/decl/systemjs/systemjs.d.ts b/lib/decl/systemjs/systemjs.d.ts
new file mode 100644
index 000000000..1d826aebb
--- /dev/null
+++ b/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