Commit b81e546
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.
Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>1 parent 4791b7e commit b81e546
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