Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from May 5, 2021
Merged

Conversation

justinfagnani
Copy link
Contributor

@justinfagnani justinfagnani commented May 5, 2021

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.

@justinfagnani justinfagnani merged commit 7b331e5 into master May 5, 2021
@justinfagnani justinfagnani deleted the state-un-deprecate branch May 5, 2021 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

state() is shown as deprecated in LitElement 2.5
2 participants