diff --git a/integration/typings_test_ts21/include-all.ts b/integration/typings_test_ts21/include-all.ts index 7d176df731..499b6e6024 100644 --- a/integration/typings_test_ts21/include-all.ts +++ b/integration/typings_test_ts21/include-all.ts @@ -13,10 +13,10 @@ import * as core from '@angular/core/testing'; import * as httpTesting from '@angular/http'; import * as http from '@angular/http/testing'; import * as platformBrowserTesting from '@angular/platform-browser'; -import * as platformBrowserDynmic from '@angular/platform-browser-dynamic'; +import * as platformBrowserDynamic from '@angular/platform-browser-dynamic'; import * as platformBrowser from '@angular/platform-browser/testing'; -import * as platfomrServerTesting from '@angular/platform-server'; -import * as platfomrServer from '@angular/platform-server/testing'; +import * as platformServerTesting from '@angular/platform-server'; +import * as platformServer from '@angular/platform-server/testing'; import * as routerTesting from '@angular/router'; import * as router from '@angular/router/testing'; import * as upgrade from '@angular/upgrade'; @@ -30,9 +30,9 @@ export default { httpTesting, platformBrowser, platformBrowserTesting, - platformBrowserDynmic, - platfomrServer, - platfomrServerTesting, + platformBrowserDynamic, + platformServer, + platformServerTesting, router, routerTesting, upgrade diff --git a/integration/typings_test_ts21/package.json b/integration/typings_test_ts21/package.json index 6ced304afd..ad3c4d16b4 100644 --- a/integration/typings_test_ts21/package.json +++ b/integration/typings_test_ts21/package.json @@ -1,6 +1,6 @@ { "name": "angular-integration", - "description": "Assert that users with TypeScript 2.0 can type-check an Angular application", + "description": "Assert that users with TypeScript 2.1 can type-check an Angular application", "version": "0.0.0", "license": "MIT", "dependencies": { @@ -23,4 +23,4 @@ "scripts": { "test": "tsc" } -} +} \ No newline at end of file diff --git a/integration/typings_test_ts22/include-all.ts b/integration/typings_test_ts22/include-all.ts new file mode 100644 index 0000000000..499b6e6024 --- /dev/null +++ b/integration/typings_test_ts22/include-all.ts @@ -0,0 +1,39 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import * as compiler from '@angular/compiler'; +import * as compilerTesting from '@angular/compiler/testing'; +import * as coreTesting from '@angular/core'; +import * as core from '@angular/core/testing'; +import * as httpTesting from '@angular/http'; +import * as http from '@angular/http/testing'; +import * as platformBrowserTesting from '@angular/platform-browser'; +import * as platformBrowserDynamic from '@angular/platform-browser-dynamic'; +import * as platformBrowser from '@angular/platform-browser/testing'; +import * as platformServerTesting from '@angular/platform-server'; +import * as platformServer from '@angular/platform-server/testing'; +import * as routerTesting from '@angular/router'; +import * as router from '@angular/router/testing'; +import * as upgrade from '@angular/upgrade'; + +export default { + compiler, + compilerTesting, + core, + coreTesting, + http, + httpTesting, + platformBrowser, + platformBrowserTesting, + platformBrowserDynamic, + platformServer, + platformServerTesting, + router, + routerTesting, + upgrade +}; diff --git a/integration/typings_test_ts22/package.json b/integration/typings_test_ts22/package.json new file mode 100644 index 0000000000..0e705605e8 --- /dev/null +++ b/integration/typings_test_ts22/package.json @@ -0,0 +1,26 @@ +{ + "name": "angular-integration", + "description": "Assert that users with TypeScript 2.2 can type-check an Angular application", + "version": "0.0.0", + "license": "MIT", + "dependencies": { + "@angular/common": "file:../../dist/packages-dist/common", + "@angular/compiler": "file:../../dist/packages-dist/compiler", + "@angular/compiler-cli": "file:../../dist/packages-dist/compiler-cli", + "@angular/core": "file:../../dist/packages-dist/core", + "@angular/http": "file:../../dist/packages-dist/http", + "@angular/platform-browser": "file:../../dist/packages-dist/platform-browser", + "@angular/platform-browser-dynamic": "file:../../dist/packages-dist/platform-browser-dynamic", + "@angular/platform-server": "file:../../dist/packages-dist/platform-server", + "@angular/router": "file:../../dist/packages-dist/router", + "@angular/tsc-wrapped": "file:../../dist/tools/@angular/tsc-wrapped", + "@angular/upgrade": "file:../../dist/packages-dist/upgrade", + "@types/jasmine": "2.5.41", + "rxjs": "file:../../node_modules/rxjs", + "typescript": "2.2.1", + "zone.js": "0.7.6" + }, + "scripts": { + "test": "tsc" + } +} diff --git a/integration/typings_test_ts22/tsconfig.json b/integration/typings_test_ts22/tsconfig.json new file mode 100644 index 0000000000..1b19900654 --- /dev/null +++ b/integration/typings_test_ts22/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "emitDecoratorMetadata": true, + "experimentalDecorators": true, + "module": "commonjs", + "moduleResolution": "node", + "outDir": "../../dist/typing-test/", + "rootDir": ".", + "target": "es5", + "lib": [ + "es5", + "dom", + "es2015.collection", + "es2015.iterable", + "es2015.promise" + ], + "types": [], + "strictNullChecks": true + }, + "files": [ + "include-all.ts", + "node_modules/@types/jasmine/index.d.ts" + ] +} \ No newline at end of file