@fimbul/mimir
Advanced tools
Comparing version 0.23.0 to 0.24.0-dev.20210120
{ | ||
"name": "@fimbul/mimir", | ||
"version": "0.23.0", | ||
"version": "0.24.0-dev.20210120", | ||
"description": "Core rules of the Fimbullinter project", | ||
@@ -29,3 +29,3 @@ "main": "recommended.yaml", | ||
"dependencies": { | ||
"@fimbul/ymir": "^0.22.0", | ||
"@fimbul/ymir": "0.22.0", | ||
"chalk": "^4.0.0", | ||
@@ -32,0 +32,0 @@ "debug": "^4.0.0", |
@@ -14,4 +14,4 @@ "use strict"; | ||
checkTypeParameters(typeParameters, signature) { | ||
if (this.usage === undefined) | ||
this.usage = tsutils_1.collectVariableUsage(this.sourceFile); | ||
var _a; | ||
(_a = this.usage) !== null && _a !== void 0 ? _a : (this.usage = tsutils_1.collectVariableUsage(this.sourceFile)); | ||
outer: for (const typeParameter of typeParameters) { | ||
@@ -18,0 +18,0 @@ let usedInParameters = false; |
@@ -82,4 +82,3 @@ "use strict"; | ||
continue; | ||
if (type === undefined) | ||
type = utils_1.tryGetBaseConstraintType(checker.getTypeOfAssignmentPattern(node), checker); | ||
type !== null && type !== void 0 ? type : (type = utils_1.tryGetBaseConstraintType(checker.getTypeOfAssignmentPattern(node), checker)); | ||
if (symbolMaybeUndefined(checker, type.getProperty(String(i)), node)) | ||
@@ -86,0 +85,0 @@ continue; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
438671
5151
Updated@fimbul/ymir@0.22.0