lit / lit-element

LEGACY REPO. This repository is for maintenance of the legacy LitElement library. The LitElement base class is now part of the Lit library, which is developed in the lit monorepo.
https://lit-element.polymer-project.org
BSD 3-Clause "New" or "Revised" License
4.49k stars 319 forks source link

Make @state() not appear to be deprecated. #1192

Closed justinfagnani closed 3 years ago

justinfagnani commented 3 years ago

Fixes #1191

Some tools seemed to be copying the @deprecated annotation on @internalProperty() to @state(), presumably because of the assignment. Hopefully calling internalProperty() will avoid this. I checked in VS Code and it fixes that at least.