2015-04-01 13:45:56 -04:00
|
|
|
/**
|
|
|
|
* This file contains declarations of global symbols we reference in our code
|
|
|
|
*/
|
|
|
|
|
|
|
|
declare var assert: any;
|
|
|
|
declare var global: Window;
|
|
|
|
type int = number;
|
|
|
|
|
2015-04-11 15:40:05 -04:00
|
|
|
interface List<T> extends Array<T> {
|
|
|
|
}
|
2015-04-01 13:45:56 -04:00
|
|
|
|
|
|
|
interface Window {
|
|
|
|
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: typeof assert;
|
|
|
|
NaN: typeof NaN;
|
|
|
|
gc(): void;
|
|
|
|
}
|