Closed woden0415 closed 3 months ago
Decorators can only be used on classes and their members
As @Pentadome mentioned, this is a syntax issue and has nothing to do with this repo. If you need further information on how to use decorators, refer to https://www.typescriptlang.org/docs/handbook/decorators.html
Vue - Official extension or vue-tsc version
v2.0.28
VSCode version
Version: 1.91.1
Vue version
^2.7.0
TypeScript version
null
System Info
Steps to reproduce
this is demo repositories
the code can running normally
but the ts check failed
Decorators are not valid here.ts-plugin(1206)
What is expected?
ts check pass
What is actually happening?
ts check fail
Link to minimal reproduction
https://github.com/woden0415/test.git
Any additional comments?
No response