-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Description
- VSCode Version: 1.41.1
- OS Version: OSX 10.15.2
Steps to Reproduce:
- add
experimentalDecorators: true
to tsconfig.json - Use a decorator in a .js file
Here is the contents of my jsconfig.json:
{
"compilerOptions": {
"allowSyntheticDefaultImports": false,
"experimentalDecorators": true,
"baseUrl": ".",
"paths": {
"$src/*": ["./src/*"],
"$config/*": ["./config/*"]
}
},
"exclude": ["node_modules", "dist"]
}
Example code with decorator:
import { authRequired } from './$src/authRequired';
const service = {
@authRequired
getPrice() {
//...
}
}
Does this issue occur when all extensions are disabled?: Yes
Metadata
Metadata
Assignees
Labels
No labels