Commit b9bb040
committed
fix(esbuild): Remove unnecessary @ts-expect-error annotation
The `@ts-expect-error` comment was suppressing a TypeScript error that is no longer necessary. This was likely due to a previous type mismatch or incorrect assumption about the `browserslist` module's default export.
With updated dependencies and improved type definitions, the explicit error suppression is no longer required. Removing it improves code clarity and ensures better type safety by allowing TypeScript to properly validate the usage of `browserslist.default('defaults')`.
This change affects the ESBuild configuration where browser targets are derived from `browserslist`.1 parent 79f454a commit b9bb040
2 files changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
39 | | - | |
| 37 | + | |
40 | 38 | | |
41 | 39 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments