Fix to use correct target type ID
This commit is contained in:
parent
a3a2ff5f12
commit
11c4c4cd61
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue