Skip to content

Commit 209f30c

Browse files
committed
Update test
1 parent 2e5a39a commit 209f30c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/cases/conformance/types/keyof/keyofAndIndexedAccess.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,11 @@ type Q21 = Shape[WIDTH_OR_HEIGHT]; // number
6363

6464
type Q30 = [string, number][0]; // string
6565
type Q31 = [string, number][1]; // number
66-
type Q32 = [string, number][2]; // string | number
66+
type Q32 = [string, number][number]; // string | number
6767
type Q33 = [string, number][E.A]; // string
6868
type Q34 = [string, number][E.B]; // number
69-
type Q35 = [string, number][E.C]; // string | number
70-
type Q36 = [string, number]["0"]; // string
71-
type Q37 = [string, number]["1"]; // string
69+
type Q35 = [string, number]["0"]; // string
70+
type Q36 = [string, number]["1"]; // string
7271

7372
type Q40 = (Shape | Options)["visible"]; // boolean | "yes" | "no"
7473
type Q41 = (Shape & Options)["visible"]; // true & "yes" | true & "no" | false & "yes" | false & "no"

0 commit comments

Comments
 (0)