2015-10-01 22:49:45 -04:00
|
|
|
/**
|
|
|
|
* Declarations angular depends on for compilation to ES6.
|
|
|
|
* This file is also used to propagate our transitive typings
|
|
|
|
* to users.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/// <reference path="../typings/zone/zone.d.ts"/>
|
|
|
|
/// <reference path="../typings/hammerjs/hammerjs.d.ts"/>
|
2015-11-13 04:58:17 -05:00
|
|
|
|
|
|
|
// TODO: ideally the node.d.ts reference should be scoped only for files that need and not to all
|
|
|
|
// the code including client code
|
|
|
|
/// <reference path="../typings/node/node.d.ts" />
|
|
|
|
|
2015-10-01 22:49:45 -04:00
|
|
|
declare var assert: any;
|
|
|
|
|
2015-11-13 04:58:17 -05:00
|
|
|
|
2015-10-01 22:49:45 -04:00
|
|
|
interface BrowserNodeGlobal {
|
|
|
|
Object: typeof Object;
|
|
|
|
Array: typeof Array;
|
|
|
|
Map: typeof Map;
|
|
|
|
Set: typeof Set;
|
|
|
|
Date: typeof Date;
|
|
|
|
RegExp: typeof RegExp;
|
|
|
|
JSON: typeof JSON;
|
|
|
|
Math: typeof Math;
|
|
|
|
assert(condition: any): void;
|
|
|
|
Reflect: any;
|
|
|
|
zone: Zone;
|
|
|
|
getAngularTestability: Function;
|
|
|
|
getAllAngularTestabilities: Function;
|
2016-01-05 15:56:24 -05:00
|
|
|
frameworkStabilizers: Array<Function>;
|
2015-10-01 22:49:45 -04:00
|
|
|
setTimeout: Function;
|
|
|
|
clearTimeout: Function;
|
|
|
|
setInterval: Function;
|
|
|
|
clearInterval: Function;
|
|
|
|
}
|