Packages

@lwc/errors

9.5.3 · 27 Oct 2026MIT384.1k / weekRepositoryHomepagenpmAtom feed

Upgrading @lwc/errors from 7.2.6 to 8.0.0

1 release in betweenevery note read

Other targets from 7.2.6Latest9.5.3
2
changes to make
0
advisories fixed
0
new
0
fixes

Before you upgrade

Tick each one off as you go
  • breaking8.0.0
  • breaking8.0.0
3 other lines we could not sort, mostly version bumps
  • Due to the way decorators are implemented in TypeScript, the type of the prop cannot be inferred from the wire adapter; you must provide an explicit type.

    8.0.0
  • To get the most accurate validation of your types, use const assertions on your config object. Without a const assertion, the type system cannot distinguish between a reactive prop (e.g. "$authorName") and a regular string (e.g. "Codey the Bear"). As a consequence, all values of type string are not type checked.

    8.0.0
  • Due to the above constraints, the reported type errors can appear complex and hard to understand. They typically boil down to validating that your config object and prop type both match the type expected by the wire adapter.

    8.0.0