feat: add TypeScript 3 support (#25275)

PR Close #25275
This commit is contained in:
Alan Agius
2018-08-05 17:31:27 +02:00
committed by Matias Niemelä
parent c230173716
commit 5653fada32
30 changed files with 219 additions and 86 deletions
+1 -1
View File
@@ -550,7 +550,7 @@ export declare class NgZone {
readonly onStable: EventEmitter<any>;
readonly onUnstable: EventEmitter<any>;
constructor({ enableLongStackTrace }: {
enableLongStackTrace?: boolean;
enableLongStackTrace?: boolean | undefined;
});
run<T>(fn: (...args: any[]) => T, applyThis?: any, applyArgs?: any[]): T;
runGuarded<T>(fn: (...args: any[]) => T, applyThis?: any, applyArgs?: any[]): T;
+2 -2
View File
@@ -11,7 +11,7 @@
"test": "test"
},
"peerDependencies": {
"typescript": "^2.6.1"
"typescript": "^3.0.1"
},
"dependencies": {
"chalk": "^2.3.1",
@@ -21,7 +21,7 @@
"devDependencies": {
"chai": "^4.1.2",
"jasmine": "^3.1.0",
"typescript": "~2.6.2"
"typescript": "~3.0.1"
},
"repository": {},
"keywords": [
+3 -3
View File
@@ -153,9 +153,9 @@ type-detect@^4.0.0:
version "4.0.8"
resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c"
typescript@~2.6.2:
version "2.6.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.6.2.tgz#3c5b6fd7f6de0914269027f03c0946758f7673a4"
typescript@~3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.0.1.tgz#43738f29585d3a87575520a4b93ab6026ef11fdb"
wrappy@1:
version "1.0.2"