Skip to content

Instantly share code, notes, and snippets.

@edgarbs1998
Created December 31, 2021 15:51
Show Gist options
  • Save edgarbs1998/4dc70808d8bf25bd12a2162934efe50c to your computer and use it in GitHub Desktop.
Save edgarbs1998/4dc70808d8bf25bd12a2162934efe50c to your computer and use it in GitHub Desktop.
{
"compilerOptions": {
/* Visit https://aka.ms/tsconfig.json to read more about this file */
/* Language and Environment */
"target": "es6",
/* Modules */
"module": "commonjs" /* Specify what module code is generated. */,
"baseUrl": "./src" /* Specify the base directory to resolve non-relative module names. */,
/* Emit */
"declaration": true /* Generate .d.ts files from TypeScript and JavaScript files in your project. */,
"sourceMap": true /* Create source map files for emitted JavaScript files. */,
"outDir": "./dist" /* Specify an output folder for all emitted files. */,
/* Interop Constraints */
"forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */,
/* Type Checking */
"strict": true /* Enable all strict type-checking options. */,
"noUnusedLocals": true /* Enable error reporting when a local variables aren't read. */,
"noUnusedParameters": true /* Raise an error when a function parameter isn't read */,
"noImplicitReturns": true /* Enable error reporting for codepaths that do not explicitly return in a function. */,
"noFallthroughCasesInSwitch": true /* Enable error reporting for fallthrough cases in switch statements. */,
"noUncheckedIndexedAccess": true /* Include 'undefined' in index signature results */,
"noImplicitOverride": true /* Ensure overriding members in derived classes are marked with an override modifier. */,
"noPropertyAccessFromIndexSignature": true /* Enforces using indexed accessors for keys declared using an indexed type */,
"allowUnreachableCode": false /* Disable error reporting for unreachable code. */
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment