How to remove experimentalDecorators warning in VSCode
参考:https://ihatetomatoes.net/how-to-remove-experimentaldecorators-warning-in-vscode/
在根目录添加一个tsconfig.json文件
文件里写下如下配置:
{
"compilerOptions": {
"experimentalDecorators": true,
"allowJs": true
}
}
如此vscode就不再会有该报错