When I'm working with Meteor/React in Visual Studio Code, I keep encountering the same errors that I just can't seem to shake off:
For instance, visual studio code
'Cannot find module 'meteor/mongo''
(check out this screenshot for reference: Cannot find module ...)
If I add the following line at the start of my file
// @ts-nocheck
The errors disappear
I'm confused about why TypeScript is involved. What does TypeScript have to do with this? I'm not using TypeScript; I'm writing JavaScript ES6 code. Below is my jsconfig.json:
{
"compilerOptions": {
"target": "es6",
"module": "commonjs",
"checkJs": true
},
"exclude": [
"node_modules",
"**/node_modules/*",
"bower_components"
]
}
Is there a way to remove/disable/delete TypeScript completely?