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:
1 parent
53320f59a4
commit
d905cede25
1 file changed
+1
-1
@@ -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