type-coverage
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -208,2 +208,4 @@ "use strict"; | ||
case typescript_1.default.SyntaxKind.UndefinedKeyword: | ||
case typescript_1.default.SyntaxKind.UniqueKeyword: | ||
case typescript_1.default.SyntaxKind.UnknownKeyword: | ||
case typescript_1.default.SyntaxKind.FromKeyword: | ||
@@ -334,2 +336,8 @@ case typescript_1.default.SyntaxKind.GlobalKeyword: | ||
break; | ||
case typescript_1.default.SyntaxKind.OptionalType: | ||
break; | ||
case typescript_1.default.SyntaxKind.RestType: | ||
const restTypeNode = node; | ||
handleNode(restTypeNode.type, file, sourceFile); | ||
break; | ||
case typescript_1.default.SyntaxKind.UnionType: | ||
@@ -343,2 +351,13 @@ const unionTypeNode = node; | ||
break; | ||
case typescript_1.default.SyntaxKind.ConditionalType: | ||
const conditionalTypeNode = node; | ||
handleNode(conditionalTypeNode.checkType, file, sourceFile); | ||
handleNode(conditionalTypeNode.extendsType, file, sourceFile); | ||
handleNode(conditionalTypeNode.trueType, file, sourceFile); | ||
handleNode(conditionalTypeNode.falseType, file, sourceFile); | ||
break; | ||
case typescript_1.default.SyntaxKind.InferType: | ||
const inferTypeNode = node; | ||
handleNode(inferTypeNode.typeParameter, file, sourceFile); | ||
break; | ||
case typescript_1.default.SyntaxKind.ParenthesizedType: | ||
@@ -345,0 +364,0 @@ const parenthesizedTypeNode = node; |
{ | ||
"name": "type-coverage", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"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
61091
1051