@ealmansi/jagger
Advanced tools
Comparing version 0.1.15 to 0.1.16
@@ -115,7 +115,9 @@ "use strict"; | ||
const provideableType = typeChecker.getTypeAtLocation(provideable); | ||
const baseTypes = provideableType.getBaseTypes(); | ||
if (!baseTypes) { | ||
continue; | ||
} | ||
const candidateTypes = [provideableType].concat(baseTypes); | ||
let candidateTypes = [provideableType]; | ||
candidateTypes = candidateTypes.concat(candidateTypes.flatMap((candidateType) => typeChecker | ||
.getTypeAtLocation(candidateType.symbol.valueDeclaration) | ||
.getBaseTypes() || [])); | ||
candidateTypes = candidateTypes.concat(candidateTypes.flatMap((candidateType) => typeChecker | ||
.getTypeAtLocation(candidateType.symbol.valueDeclaration) | ||
.getBaseTypes() || [])); | ||
for (const candidateType of candidateTypes) { | ||
@@ -122,0 +124,0 @@ const candidateTypeSymbol = candidateType.getSymbol(); |
{ | ||
"name": "@ealmansi/jagger", | ||
"version": "0.1.15", | ||
"version": "0.1.16", | ||
"description": "WIP", | ||
@@ -5,0 +5,0 @@ "files": [ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
15801
249
0