[VSCode] Experimental Decorator Error
While creating an
This option was found at
Injectable
in my Angular project, I came across the following 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.ts(1219)
As an attempt to get rid of this lint error, I added"compilerOptions": {
"experimentalDecorators": true,
"allowJs": true,
}
to the tsconfig.json
file. But the real solution to this error is enabling the ExperimentalDecorator
option in VS Code's setting.This option was found at
Setting -> ExperimentalDecorator
.Reference
この問題について([VSCode] Experimental Decorator Error), 我々は、より多くの情報をここで見つけました https://velog.io/@thundelly/VSCode-ExperimentalDecorator-에러テキストは自由に共有またはコピーできます。ただし、このドキュメントのURLは参考URLとして残しておいてください。
Collection and Share based on the CC Protocol