Skip to content

Commit 80ae43d

Browse files
committedSep 20, 2022
Fixing spaces
1 parent ba10a0d commit 80ae43d

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
@@ -15589,7 +15589,7 @@ m2: ${(this.mapper2 as unknown as DebugTypeMapper).__debugToString().split("\n")
1558915589
return accessFlags & AccessFlags.IncludeUndefined ? getUnionType([indexInfo.type, undefinedType]) : indexInfo.type;
1559015590
}
1559115591
errorIfWritingToReadonlyIndex(indexInfo);
15592-
// When accessing an enum object with its own type,
15592+
// When accessing an enum object with its own type,
1559315593
// e.g. E[E.A] for enum E { A }, undefined shouldn't
1559415594
// be included in the result type
1559515595
if ((accessFlags & AccessFlags.IncludeUndefined) &&

0 commit comments

Comments
 (0)
Please sign in to comment.