Logo
Explore Help
Sign In
honeymoose/angular-cn
1
0
Fork 0
You've already forked angular-cn
Code Issues Pull Requests Packages Projects Releases Wiki Activity
angular-cn/modules/angular2/globals.ts

25 lines
453 B
TypeScript
Raw Normal View History

chore(ts): duplicate the .es6 files in the facade directory to TypeScript. Adds a gulp task which builds the .ts files (in the cjs build only). The new files have extension .ts since they are now valid typescript. Unfortunately until Typescript can emit System.require, we have to keep the old .es6 version so traceur works inside the Karma preprocessor. This should be fixed soon.
2015-04-01 10:45:56 -07:00
/**
* This file contains declarations of global symbols we reference in our code
*/
declare var assert: any;
declare var global: Window;
type int = number;
chore(build): fix check-format
2015-04-11 12:40:05 -07:00
interface List<T> extends Array<T> {
}
chore(ts): duplicate the .es6 files in the facade directory to TypeScript. Adds a gulp task which builds the .ts files (in the cjs build only). The new files have extension .ts since they are now valid typescript. Unfortunately until Typescript can emit System.require, we have to keep the old .es6 version so traceur works inside the Karma preprocessor. This should be fixed soon.
2015-04-01 10:45:56 -07: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;
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.1 Page: 466ms Template: 13ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API