Commit 6a411d0
committed
Fix noUncheckedIndexedAccess typecheck error in jsonc test
Array indexing returns number | undefined under strict TS config;
use a non-null assertion where the valid index is guaranteed by the test setup.1 parent 7528eba commit 6a411d0
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
| 176 | + | |
| 177 | + | |
177 | 178 | | |
178 | 179 | | |
179 | 180 | | |
| |||
0 commit comments