This reverts commit a7a9463624f40c17105abe4574794e0fc8302c24. This reverts commit 59824e40e8354e5b8c70c8c0f81dfce2c0ecb2f4.
25 lines
453 B
TypeScript
25 lines
453 B
TypeScript
/**
|
|
* This file contains declarations of global symbols we reference in our code
|
|
*/
|
|
|
|
declare var assert: any;
|
|
declare var global: Window;
|
|
type int = number;
|
|
|
|
interface List<T> extends Array<T> {
|
|
}
|
|
|
|
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;
|
|
}
|