Fix incorrect name of index signature flag in implementation (#40541)

This commit is contained in:
Ryan Cavanaugh authored and GitHub committed 2020-09-14 09:32:22 -07:00
1 parent 8d6aecbdde
commit 21d781fa54
8 files changed
+149 -34

No files matched your search

+1 -1
View File
@@ -13643,7 +13643,7 @@ namespace ts {
return undefined;
}
const shouldIncludeUndefined =
compilerOptions.noUncheckedIndexSignatures &&
compilerOptions.noUncheckedIndexedAccess &&
(accessFlags & (AccessFlags.Writing | AccessFlags.ExpressionPosition)) === AccessFlags.ExpressionPosition;
if (accessNode && !isTypeAssignableToKind(indexType, TypeFlags.String | TypeFlags.Number)) {
const indexNode = getIndexNodeForAccessExpression(accessNode);
+1 -1
View File
@@ -5783,7 +5783,7 @@ namespace ts {
assumeChangesOnlyAffectDirectDependencies?: boolean;
noLib?: boolean;
noResolve?: boolean;
noUncheckedIndexSignatures?: boolean;
noUncheckedIndexedAccess?: boolean;
out?: string;
outDir?: string;
outFile?: string;