fac184ccfe
- reduce amount of warnings in IDE
- maximize API type mapping with static/js/core/types.js
26 lines
747 B
JSON
26 lines
747 B
JSON
{
|
|
"compilerOptions": {
|
|
// Enable type checking on all JS files (equivalent to @ts-check globally)
|
|
"checkJs": true,
|
|
"allowJs": true,
|
|
"strict": true,
|
|
"noEmit": true,
|
|
"noImplicitAny": true,
|
|
"noImplicitThis": true,
|
|
"noImplicitReturns": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"strictFunctionTypes": true,
|
|
|
|
"lib": ["ES2022", "DOM"],
|
|
// Treat all JS files as modules
|
|
"moduleDetection": "force",
|
|
"strictNullChecks": false, // too much pedantic...
|
|
"moduleResolution": "bundler",
|
|
"skipLibCheck": true,
|
|
"target": "ESNext"
|
|
},
|
|
"include": ["static/js/**/*.js" ],
|
|
"exclude": ["static/js/vendors/**", "static/js/vendors/**/*.mjs", "static/js/vendors/**/*.js" ]
|
|
}
|