mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-24 11:43:18 -05:00
Fix to use correct target type ID
This commit is contained in:
committed by
Nathan Shively-Sanders
parent
4925f2f05f
commit
2510177593
@@ -9775,7 +9775,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