From 276b1ae79fd3906003e61439f637a0d63559d5e9 Mon Sep 17 00:00:00 2001 From: Andy Date: Wed, 18 Jan 2017 07:51:51 -0800 Subject: [PATCH] Use "lib" in tsconfigs instead of "target". (#13968) * Use "lib" in tsconfigs instead of "target". Only add "dom" to libraries that need it. This is determined by a script, so many libraries that have "dom" maybe should not. * Update new-package and readme * Add back "target" where necessary --- tsconfig.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 6d69f32..c202db1 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,10 @@ { "compilerOptions": { "module": "commonjs", - "target": "es6", + "lib": [ + "es6", + "dom" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false,