Commit cf4aa9d
fix(core): Fix oxlint error with type assertion approach
Use Object() wrapper instead of `as unknown` cast to access
isWellFormed/toWellFormed without triggering oxlint's
unnecessary-assertion rule or TS strict mode errors.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent fdfa633 commit cf4aa9d
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
255 | | - | |
256 | | - | |
257 | | - | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
258 | 259 | | |
259 | 260 | | |
260 | 261 | | |
0 commit comments