summaryrefslogtreecommitdiff
path: root/decl/systemjs/systemjs.d.ts
blob: 4d84b399c8309f2b7fc9d7dee877c0ed68dbfc1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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): void;
}


declare var System: System;

declare module "systemjs" {
  export = System;
}