Skip to content

Instantly share code, notes, and snippets.

@Sathiyapramod
Last active February 12, 2024 14:26
Show Gist options
  • Save Sathiyapramod/8d66dca1bdce714f429f313a73f9c69a to your computer and use it in GitHub Desktop.
Save Sathiyapramod/8d66dca1bdce714f429f313a73f9c69a to your computer and use it in GitHub Desktop.
tsconfig.json
{
"compilerOptions": {
"target": "es2022" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
"moduleDetection": "force" /* Control what method is used to detect module-format JS files. */,
/* Modules */
"module": "CommonJS" /* Specify what module code is generated. */,
"rootDir": "./" /* Specify the root folder within your source files. */,
"outDir": "./build" /* Specify an output folder for all emitted files. */,
"importsNotUsedAsValues": "remove" /* Specify emit/checking behavior for imports that are only used for types. */,
"isolatedModules": false /* Ensure that each file can be safely transpiled without relying on other imports. */,
"esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */,
"forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */,
"strict": false /* Enable all strict type-checking options. */,
"noImplicitAny": false /* Enable error reporting for expressions and declarations with an implied 'any' type. */,
"strictNullChecks":false /* When type checking, take into account 'null' and 'undefined'. */,
"strictFunctionTypes": false, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */
"noImplicitThis": false ,
"alwaysStrict": false ,
"skipLibCheck": true, /* Skip type checking all .d.ts files. */
"ignoreDeprecations":"5.0"
},
"exclude": ["node_modules"],
"include": ["src/**/*.ts"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment