Skip to content

Commit 11c4c4c

Browse files
committed
Fix to use correct target type ID
1 parent a3a2ff5 commit 11c4c4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/checker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9780,7 +9780,7 @@ namespace ts {
97809780
}
97819781

97829782
function getTypeReferenceId(type: TypeReference, typeParameters: Type[]) {
9783-
let result = "" + type.id;
9783+
let result = "" + type.target.id;
97849784
for (const t of type.typeArguments) {
97859785
if (isUnconstrainedTypeParameter(t)) {
97869786
let index = indexOf(typeParameters, t);

0 commit comments

Comments
 (0)