Skip to content

Commit d4624e6

Browse files
committed
fix changes
1 parent b7f614f commit d4624e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/checker.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -9974,7 +9974,7 @@ namespace ts {
99749974
const declaration = getIndexDeclarationOfIndexSymbol(indexSymbol, indexKind);
99759975
if (!declaration) return undefined;
99769976
return createIndexInfo(declaration.type ? getTypeFromTypeNode(declaration.type) : anyType,
9977-
hasModifier(declaration, ModifierFlags.Readonly), declaration);
9977+
hasEffectiveModifier(declaration, ModifierFlags.Readonly), declaration);
99789978
}
99799979

99809980
function resolveReverseMappedTypeMembers(type: ReverseMappedType) {

0 commit comments

Comments
 (0)