Skip to content

Commit

Permalink
fix changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Kingwl committed May 20, 2020
1 parent b7f614f commit d4624e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/checker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9974,7 +9974,7 @@ namespace ts {
const declaration = getIndexDeclarationOfIndexSymbol(indexSymbol, indexKind);
if (!declaration) return undefined;
return createIndexInfo(declaration.type ? getTypeFromTypeNode(declaration.type) : anyType,
hasModifier(declaration, ModifierFlags.Readonly), declaration);
hasEffectiveModifier(declaration, ModifierFlags.Readonly), declaration);
}

function resolveReverseMappedTypeMembers(type: ReverseMappedType) {
Expand Down

0 comments on commit d4624e6

Please sign in to comment.