type-coverage
Advanced tools
Comparing version 1.4.2 to 1.4.3
@@ -28,3 +28,13 @@ "use strict"; | ||
const configResult = typescript_1.default.readConfigFile(configFilePath, p => fs.readFileSync(p).toString()); | ||
const config = configResult.error ? {} : configResult.config; | ||
const config = configResult.error ? { | ||
compilerOptions: { | ||
lib: [ | ||
'dom', | ||
'es5', | ||
'es2015', | ||
'es2016', | ||
'es2017' | ||
] | ||
} | ||
} : configResult.config; | ||
if (config.extends) { | ||
@@ -31,0 +41,0 @@ const project = path.resolve(dirname, config.extends); |
{ | ||
"name": "type-coverage", | ||
"version": "1.4.2", | ||
"version": "1.4.3", | ||
"description": "A CLI tool to check type coverage for typescript code", | ||
@@ -5,0 +5,0 @@ "main": "dist/core.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
62704
1067