Add --noImplicitThis to new packages (#13454)

This commit is contained in:
Andy 2016-12-19 14:30:16 -08:00 committed by GitHub
parent a4bd9fa3c1
commit 677f96b63a

View File

@ -59,7 +59,7 @@ async function getIndex() {
const { latest } = reg["dist-tags"]
const { homepage } = reg.versions[latest]
version = latest.split(".").slice(0, 2).join(".")
if (homepage !== undefined) project = homepage
} catch (e) {
@ -81,6 +81,7 @@ function getTSConfig() {
"module": "commonjs",
"target": "es6",
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
"baseUrl": "../",
"typeRoots": [