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
This commit is contained in:
Andy 2017-01-18 07:51:51 -08:00 committed by GitHub
parent 01a3806eb5
commit 276b1ae79f

View File

@ -1,7 +1,10 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"lib": [
"es6",
"dom"
],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": false,