type-coverage
Advanced tools
Comparing version 2.27.2 to 2.28.0
@@ -50,2 +50,3 @@ "use strict"; | ||
--json-output boolean? output results as JSON | ||
--report-unused-ignore boolean? report unused ignore line directives | ||
`); | ||
@@ -64,3 +65,3 @@ } | ||
} | ||
const { atLeast, debug, detail, enableCache, ignoreCatch, ignoreFiles, ignoreUnread, is, project, strict, update, updateIfHigher, ignoreNested, ignoreAsAssertion, ignoreTypeAssertion, ignoreNonNullAssertion, ignoreObject, ignoreEmptyType, showRelativePath, historyFile, noDetailWhenFailed, reportSemanticError, cacheDirectory, notOnlyInCWD, } = 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, reportUnusedIgnore, cacheDirectory, notOnlyInCWD, } = await getTarget(argv); | ||
const { correctCount, totalCount, anys } = await (0, type_coverage_core_1.lint)(project, { | ||
@@ -80,2 +81,3 @@ debug, | ||
reportSemanticError, | ||
reportUnusedIgnore, | ||
cacheDirectory, | ||
@@ -172,2 +174,3 @@ notOnlyInCWD, | ||
const reportSemanticError = getArgOrCfgVal(['report-semantic-error', 'reportSemanticError']); | ||
const reportUnusedIgnore = getArgOrCfgVal(['report-unused-ignore', 'reportUnusedIgnore']); | ||
const cacheDirectory = getArgOrCfgVal(['cache-directory', 'cacheDirectory']); | ||
@@ -198,2 +201,3 @@ const notOnlyInCWD = getArgOrCfgVal(['not-only-in-cwd', 'notOnlyInCWD']); | ||
reportSemanticError, | ||
reportUnusedIgnore, | ||
cacheDirectory, | ||
@@ -200,0 +204,0 @@ notOnlyInCWD, |
{ | ||
"name": "type-coverage", | ||
"version": "2.27.2", | ||
"version": "2.28.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.27.2" | ||
"type-coverage-core": "^2.28.0" | ||
}, | ||
@@ -13,0 +13,0 @@ "publishConfig": { |
12120
273
Updatedtype-coverage-core@^2.28.0