mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-04-17 01:49:41 -05:00
Fix to use correct target type ID
This commit is contained in:
@@ -9780,7 +9780,7 @@ namespace ts {
|
||||
}
|
||||
|
||||
function getTypeReferenceId(type: TypeReference, typeParameters: Type[]) {
|
||||
let result = "" + type.id;
|
||||
let result = "" + type.target.id;
|
||||
for (const t of type.typeArguments) {
|
||||
if (isUnconstrainedTypeParameter(t)) {
|
||||
let index = indexOf(typeParameters, t);
|
||||
|
||||
Reference in New Issue
Block a user