mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Add missing getApparentType call
This commit is contained in:
@@ -9693,7 +9693,7 @@ namespace ts {
|
||||
const indexTypes: Type[] = [];
|
||||
let isAnyReadonly = false;
|
||||
for (const type of types) {
|
||||
const indexInfo = getIndexInfoOfType(type, kind);
|
||||
const indexInfo = getIndexInfoOfType(getApparentType(type), kind);
|
||||
if (!indexInfo) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user