-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
27 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,36 @@ | ||
{ | ||
"compilerOptions": { | ||
"outDir": "dist", | ||
"module": "Node16", | ||
// project options | ||
"lib": ["ESNext"], | ||
"outDir": "dist", | ||
"removeComments": true, | ||
"target": "ESNext", | ||
"module": "Node16", | ||
"allowImportingTsExtensions": true, | ||
"emitDeclarationOnly": true, | ||
"moduleResolution": "Node16", | ||
"strict": true, | ||
"stripInternal": true, | ||
|
||
// Module resolution | ||
"esModuleInterop": true, | ||
"declaration": true, | ||
"moduleResolution": "Node16", | ||
|
||
// Source Map | ||
"sourceMap": true, | ||
"resolveJsonModule": false | ||
|
||
// Strict Checks | ||
"alwaysStrict": true, // Ensures that your files are parsed in the ECMAScript strict mode, and emit “use strict” for each source file. | ||
"allowUnreachableCode": false, // pick up dead code paths | ||
"noImplicitAny": true, // In some cases where no type annotations are present, TypeScript will fall back to a type of any for a variable when it cannot infer the type. | ||
"strictNullChecks": true, // When strictNullChecks is true, null and undefined have their own distinct types and you’ll get a type error if you try to use them where a concrete value is expected. | ||
"allowJs": true, | ||
// Linter Checks | ||
"noImplicitReturns": true, | ||
"noUnusedLocals": false, // Report errors on unused local variables. | ||
"noUnusedParameters": false, // Report errors on unused parameters in functions | ||
"declaration": true, | ||
"checkJs": false, | ||
"skipLibCheck": true, | ||
|
||
"resolveJsonModule": false, | ||
"emitDeclarationOnly": true, | ||
"allowImportingTsExtensions": true | ||
}, | ||
"include": ["src"] | ||
} |