lit/lit-element

state() is shown as deprecated in LitElement 2.5

Closed this issue · 1 comments

Description

@customElement('chat-view')
export class ChatView extends View {
  @state()
  private items: ChatItem[] = [];

This is shown in VS Code as
image

Oops! That's what happens when you copy and paste internalProperty() 😬