Skip to content

Commit 2447bd7

Browse files
committed
Update tests
1 parent 719b779 commit 2447bd7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/cases/conformance/controlFlow/controlFlowOptionalChain.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ o2.f;
6161

6262
declare const o3: { x: 1, y: string } | { x: 2, y: number } | undefined;
6363
if (o3?.x === 1) {
64-
o3; // TODO: should be `{ x: y, y: string }`
65-
o3.x; // TODO: should not be an error.
64+
o3;
65+
o3.x;
6666
o3?.x;
6767
}
6868
else {

0 commit comments

Comments
 (0)