Repository navigation
How to configure a tsconfig file for a Lit component? #5784
Unanswered
lopes-leandro
asked this question in
FAQ
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I created a new component in Lit but I'm getting the criticism below:
"Experimental decorator support is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option in your 'tsconfig' or 'jsconfig' to remove this warning."
How can I resolve this criticism if the project doesn't generate a tsconfig. I tried to generate a tsconfig file with the command
npx -p typescript tsc --initin the project root but it stopped working.All reactions