globals-es6.d.ts 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /**
  2. * Declarations angular depends on for compilation to ES6.
  3. * This file is also used to propagate our transitive typings
  4. * to users.
  5. */
  6. /// <reference path="../typings/zone/zone.d.ts"/>
  7. /// <reference path="../typings/hammerjs/hammerjs.d.ts"/>
  8. /// <reference path="../typings/jasmine/jasmine.d.ts"/>
  9. /// <reference path="../typings/angular-protractor/angular-protractor.d.ts"/>
  10. // TODO: ideally the node.d.ts reference should be scoped only for files that need and not to all
  11. // the code including client code
  12. /// <reference path="../typings/node/node.d.ts" />
  13. declare var assert: any;
  14. interface BrowserNodeGlobal {
  15. Object: typeof Object;
  16. Array: typeof Array;
  17. Map: typeof Map;
  18. Set: typeof Set;
  19. Date: typeof Date;
  20. RegExp: typeof RegExp;
  21. JSON: typeof JSON;
  22. Math: typeof Math;
  23. assert(condition: any): void;
  24. Reflect: any;
  25. zone: Zone;
  26. getAngularTestability: Function;
  27. getAllAngularTestabilities: Function;
  28. setTimeout: Function;
  29. clearTimeout: Function;
  30. setInterval: Function;
  31. clearInterval: Function;
  32. }