required property #2628
Answered
by
justinfagnani
laszlo-zaptic
asked this question in
Q&A
-
how to make a property required? something like @property({required: true})
placeholder: string so that TS and/or runtime error appear if this property isn't set? |
Beta Was this translation helpful? Give feedback.
Answered by
justinfagnani
Mar 8, 2022
Replies: 1 comment 1 reply
-
This is actually an existing lit-analyzer feature request: runem/lit-analyzer#74 cc @rictic |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
laszlo-zaptic
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is actually an existing lit-analyzer feature request: runem/lit-analyzer#74
cc @rictic