From 3368f29a4daaa1d7a68362ce3f96949a5730b0ae Mon Sep 17 00:00:00 2001 From: Chuck Jazdzewski Date: Fri, 27 Jan 2017 16:16:58 -0800 Subject: [PATCH] ci: update typings test to use standard typings (#14156) Closes #14156 --- tools/typings-test/test.sh | 4 +--- tools/typings-test/tsconfig.json | 5 ++--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/tools/typings-test/test.sh b/tools/typings-test/test.sh index 5573230bde..aa5b3cd952 100755 --- a/tools/typings-test/test.sh +++ b/tools/typings-test/test.sh @@ -17,9 +17,7 @@ cp -R -v tools/typings-test/* $TMP cd $TMP # create package.json so that npm install doesn't pollute any parent node_modules's directory npm init --yes - npm install ${LINKABLE_PKGS[*]} - npm install @types/es6-promise @types/es6-collections @types/jasmine rxjs@5.0.0-beta.11 - npm install typescript@2.0.2 + npm install ${LINKABLE_PKGS[*]} @types/jasmine rxjs@5.0 zone.js@0.7 typescript@2.0.2 $(npm bin)/tsc --version $(npm bin)/tsc -p tsconfig.json ) diff --git a/tools/typings-test/tsconfig.json b/tools/typings-test/tsconfig.json index 5abcf721b8..cd2a4b0756 100644 --- a/tools/typings-test/tsconfig.json +++ b/tools/typings-test/tsconfig.json @@ -6,12 +6,11 @@ "moduleResolution": "node", "outDir": "../../dist/typing-test/", "rootDir": ".", - "target": "es5" + "target": "es5", + "lib": ["es5", "dom", "es2015.collection", "es2015.iterable", "es2015.promise"] }, "files": [ "include-all.ts", - "node_modules/@types/es6-promise/index.d.ts", - "node_modules/@types/es6-collections/index.d.ts", "node_modules/@types/jasmine/index.d.ts" ] }