forked from HiwarkhedePrasad/ByteWise
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjsconfig.json
More file actions
21 lines (21 loc) · 701 Bytes
/
jsconfig.json
File metadata and controls
21 lines (21 loc) · 701 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// jsconfig.json
{
"compilerOptions": {
"module": "commonjs",
"target": "es2020", // Or "es6" or higher
"checkJs": true, // Enable type checking for JavaScript files
"allowSyntheticDefaultImports": true, // Recommended for commonJS interop
"lib": ["es2020"] // Specify standard libraries to include
// "typeAcquisition" should NOT be here
},
"typeAcquisition": {
// <--- This block is now at the top level
"enable": true // Enable automatic type acquisition for npm modules
},
"include": [
"src/**/*",
"extension.js",
"./node_modules/@types" // Ensure types from node_modules are included
],
"exclude": ["node_modules", "**/node_modules/*"]
}