github lit/lit @lit-labs/context@0.3.2

latest releases: @lit-labs/signals@0.1.1, @lit-labs/observers@2.0.4, @lit/react@1.0.6...
17 months ago

Patch Changes

  • #3733 a7e17ad7 Thanks @jpzwarte! - Improve type checking of @provide and @consume. We now support optional properties, and public properties should be fully type checked.

    This also adds support for using @provide and @consume with protected and private fields, but be aware that due to limitations in TypeScript's experimental decorators, the connection between the context and the property can not be type checked. We'll be able to fix this when standard decorators are released (current ETA TypeScript 5.2 in August 2023), see #3926 for more.

Don't miss a new lit release

NewReleases is sending notifications on new releases.