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

latest releases: @lit/task@1.0.1, lit-html@3.1.4, lit-element@4.0.6...
13 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.