@fimbul/mimir
Advanced tools
Comparing version 0.20.0-dev.20190129 to 0.20.0-dev.20190201
{ | ||
"name": "@fimbul/mimir", | ||
"version": "0.20.0-dev.20190129", | ||
"version": "0.20.0-dev.20190201", | ||
"description": "Core rules of the Fimbullinter project", | ||
@@ -32,3 +32,3 @@ "main": "recommended.yaml", | ||
"tslib": "^1.8.1", | ||
"tsutils": "^3.7.0" | ||
"tsutils": "^3.8.0" | ||
}, | ||
@@ -35,0 +35,0 @@ "peerDependencies": { |
@@ -19,2 +19,4 @@ "use strict"; | ||
checkAssertion(node) { | ||
if (tsutils_1.isConstAssertion(node)) | ||
return; | ||
let assertedType = this.checker.getTypeFromTypeNode(node.type); | ||
@@ -21,0 +23,0 @@ assertedType = this.checker.getBaseConstraintOfType(assertedType) || assertedType; |
@@ -68,2 +68,4 @@ "use strict"; | ||
checkTypeAssertion(node) { | ||
if (tsutils_1.isConstAssertion(node)) | ||
return; | ||
let targetType = this.checker.getTypeFromTypeNode(node.type); | ||
@@ -70,0 +72,0 @@ if (targetType.flags & ts.TypeFlags.Literal || |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
400463
4722
Updatedtsutils@^3.8.0