type-coverage
Advanced tools
Comparing version 2.21.2 to 2.22.0
@@ -41,2 +41,3 @@ "use strict"; | ||
--no-detail-when-failed boolean? not show detail message when the CLI failed | ||
--report-semantic-error boolean? report typescript semantic error | ||
`); | ||
@@ -55,3 +56,3 @@ } | ||
} | ||
const { atLeast, debug, detail, enableCache, ignoreCatch, ignoreFiles, ignoreUnread, is, project, strict, update, updateIfHigher, ignoreNested, ignoreAsAssertion, ignoreTypeAssertion, ignoreNonNullAssertion, ignoreObject, ignoreEmptyType, showRelativePath, historyFile, noDetailWhenFailed, } = await getTarget(argv); | ||
const { atLeast, debug, detail, enableCache, ignoreCatch, ignoreFiles, ignoreUnread, is, project, strict, update, updateIfHigher, ignoreNested, ignoreAsAssertion, ignoreTypeAssertion, ignoreNonNullAssertion, ignoreObject, ignoreEmptyType, showRelativePath, historyFile, noDetailWhenFailed, reportSemanticError, } = await getTarget(argv); | ||
const { correctCount, totalCount, anys } = await (0, type_coverage_core_1.lint)(project, { | ||
@@ -65,3 +66,3 @@ debug, | ||
ignoreNested, | ||
ignoreAsAssertion: ignoreAsAssertion, | ||
ignoreAsAssertion, | ||
ignoreTypeAssertion, | ||
@@ -71,2 +72,3 @@ ignoreNonNullAssertion, | ||
ignoreEmptyType, | ||
reportSemanticError, | ||
}); | ||
@@ -145,2 +147,3 @@ const percent = Math.floor(10000 * correctCount / totalCount) / 100; | ||
const noDetailWhenFailed = getArgOrCfgVal(['no-detail-when-failed', 'noDetailWhenFailed']); | ||
const reportSemanticError = getArgOrCfgVal(['report-semantic-error', 'reportSemanticError']); | ||
return { | ||
@@ -168,2 +171,3 @@ atLeast, | ||
noDetailWhenFailed, | ||
reportSemanticError, | ||
}; | ||
@@ -170,0 +174,0 @@ } |
{ | ||
"name": "type-coverage", | ||
"version": "2.21.2", | ||
"version": "2.22.0", | ||
"description": "A CLI tool to check type coverage for typescript code", | ||
@@ -10,3 +10,3 @@ "repository": "https://github.com/plantain-00/type-coverage.git", | ||
"minimist": "1", | ||
"type-coverage-core": "^2.21.2" | ||
"type-coverage-core": "^2.22.0" | ||
}, | ||
@@ -13,0 +13,0 @@ "publishConfig": { |
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
9987
217
Updatedtype-coverage-core@^2.22.0