We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e5b535 commit 84d747aCopy full SHA for 84d747a
1 file changed
src/compiler/checker.ts
@@ -11395,7 +11395,7 @@ namespace ts {
11395
// such that direct inferences to T get priority over inferences to Partial<T>, for example.
11396
const inference = getInferenceInfoForType((<IndexType>constraintType).type);
11397
if (inference && !inference.isFixed) {
11398
- const key = (source.symbol ? getSymbolId(source.symbol) : "no symbol") + "," + getSymbolId(target.symbol);
+ const key = (source.symbol ? getSymbolId(source.symbol) + "," : "") + getSymbolId(target.symbol);
11399
if (contains(mappedTypeStack, key)) {
11400
return;
11401
}
0 commit comments