type-coverage-core
Advanced tools
Comparing version 2.26.2 to 2.26.3
@@ -117,8 +117,2 @@ "use strict"; | ||
}; | ||
sourceFile.forEachChild(node => { | ||
(0, checker_1.checkNode)(node, context); | ||
}); | ||
correctCount += context.typeCheckResult.correctCount; | ||
totalCount += context.typeCheckResult.totalCount; | ||
anys.push(...context.typeCheckResult.anys.map((a) => ({ file, ...a }))); | ||
if (lintOptions.reportSemanticError) { | ||
@@ -147,2 +141,8 @@ const diagnostics = program.getSemanticDiagnostics(sourceFile); | ||
} | ||
sourceFile.forEachChild(node => { | ||
(0, checker_1.checkNode)(node, context); | ||
}); | ||
correctCount += context.typeCheckResult.correctCount; | ||
totalCount += context.typeCheckResult.totalCount; | ||
anys.push(...context.typeCheckResult.anys.map((a) => ({ file, ...a }))); | ||
if (lintOptions.fileCounts) { | ||
@@ -149,0 +149,0 @@ fileCounts.set(file, { |
{ | ||
"name": "type-coverage-core", | ||
"version": "2.26.2", | ||
"version": "2.26.3", | ||
"description": "A library to check type coverage for typescript code", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |