Inline Javascript -> Experimental support for decorators

Hey guys,

if i am using vscode and do some inline javascript with livewire, i am getting this error
Experimental support for decorators 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

is there a way to disable that?

This only happens if i set the language mode to html, if i set the language mode to blade the error doesn’t appear. But i usually keep my files with language mode html because of the formatter

Create the tsconfig.json file in your project directory, add:

    "compilerOptions": {
        "experimentalDecorators": true

And restart vscode.

doesn’t work :confused:

Try the other file. I wasn’t sure which one was being used in this case.