type-coverage
Advanced tools
Comparing version 2.24.1 to 2.25.0
@@ -76,3 +76,3 @@ "use strict"; | ||
const percent = Math.floor(10000 * correctCount / totalCount) / 100; | ||
const atLeastFailed = atLeast && percent < atLeast; | ||
const atLeastFailed = typeof atLeast === 'number' && percent < atLeast; | ||
const isFailed = is && percent !== is; | ||
@@ -79,0 +79,0 @@ if (detail || (!noDetailWhenFailed && (atLeastFailed || isFailed))) { |
{ | ||
"name": "type-coverage", | ||
"version": "2.24.1", | ||
"version": "2.25.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.24.1" | ||
"type-coverage-core": "^2.25.0" | ||
}, | ||
@@ -13,0 +13,0 @@ "publishConfig": { |
10409
Updatedtype-coverage-core@^2.25.0