Skip to content

Commit 54b981f

Browse files
committed
Accept new baselines
1 parent 9e67c17 commit 54b981f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: tests/baselines/reference/noUncheckedIndexedAccess.errors.txt

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
tests/cases/conformance/pedantic/noUncheckedIndexedAccess.ts(3,32): error TS2344: Type 'boolean | undefined' does not satisfy the constraint 'boolean'.
22
Type 'undefined' is not assignable to type 'boolean'.
33
tests/cases/conformance/pedantic/noUncheckedIndexedAccess.ts(12,7): error TS2322: Type 'boolean | undefined' is not assignable to type 'boolean'.
4+
Type 'undefined' is not assignable to type 'boolean'.
45
tests/cases/conformance/pedantic/noUncheckedIndexedAccess.ts(13,7): error TS2322: Type 'boolean | undefined' is not assignable to type 'boolean'.
56
tests/cases/conformance/pedantic/noUncheckedIndexedAccess.ts(14,7): error TS2322: Type 'boolean | undefined' is not assignable to type 'boolean'.
67
tests/cases/conformance/pedantic/noUncheckedIndexedAccess.ts(15,7): error TS2322: Type 'boolean | undefined' is not assignable to type 'boolean'.
@@ -54,6 +55,7 @@ tests/cases/conformance/pedantic/noUncheckedIndexedAccess.ts(99,11): error TS232
5455
const e1: boolean = strMap["foo"];
5556
~~
5657
!!! error TS2322: Type 'boolean | undefined' is not assignable to type 'boolean'.
58+
!!! error TS2322: Type 'undefined' is not assignable to type 'boolean'.
5759
const e2: boolean = strMap.bar;
5860
~~
5961
!!! error TS2322: Type 'boolean | undefined' is not assignable to type 'boolean'.

0 commit comments

Comments
 (0)