normalize more TS configs

This commit is contained in:
Hazelnoot 2025-09-30 20:11:59 -04:00
parent d135f09a60
commit 457fc38e6a
5 changed files with 16 additions and 9 deletions

View file

@ -1,9 +1,10 @@
{
"compilerOptions": {
"lib": ["dom", "es5"],
"target": "es5",
"lib": ["dom", "ES2022"],
"target": "ES2022",
"types": ["cypress", "node"],
"incremental": true
"incremental": true,
"skipLibCheck": true,
},
"include": ["./**/*.ts"]
}

View file

@ -1,8 +1,12 @@
{
"compilerOptions": {
"target": "es6",
"module": "commonjs",
"allowSyntheticDefaultImports": true
"target": "ES2022",
"module": "NodeNext",
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"skipLibCheck": true,
"allowJs": true,
"checkJs": true
},
"exclude": [
"node_modules",

View file

@ -11,7 +11,7 @@
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
/* Language and Environment */
"target": "ESNext", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
"target": "ES2022", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
// "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
// "jsx": "preserve", /* Specify what JSX code is generated. */
// "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */

View file

@ -22,6 +22,7 @@
"emitDecoratorMetadata": true,
"resolveJsonModule": true,
"isolatedModules": true,
"skipLibCheck": true,
"incremental": true,
"baseUrl": "./",
"paths": {

View file

@ -1,12 +1,13 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
"target": "ESNext",
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "node16",
"moduleResolution": "nodenext",
"strict": true,
"strictFunctionTypes": true,
"strictNullChecks": true,
"skipLibCheck": true,
"esModuleInterop": true,
"incremental": true,
"lib": [