systemjs.d.ts 443 B

123456789101112131415161718192021222324252627
  1. // Type definitions for SystemJS 1.6
  2. // Project: https://github.com/stealjs/systemjs
  3. // Definitions by: Steven Silvester <https://github.com/blink1073/>
  4. interface npmObject {
  5. name: string;
  6. fileUrl: string;
  7. }
  8. interface System {
  9. import(module: string): Promise<any>;
  10. delete(module: string): boolean;
  11. npm: { [key: string]: npmObject };
  12. }
  13. declare var System: System;
  14. declare module 'System' {
  15. export = System;
  16. }