mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Fix to use correct target type ID
This commit is contained in:
1 parent
a3a2ff5f12
commit
11c4c4cd61
1 file changed
+1
-1
@@ -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