diff --git a/.changeset/beige-feet-fry.md b/.changeset/beige-feet-fry.md new file mode 100644 index 0000000..c7f93d0 --- /dev/null +++ b/.changeset/beige-feet-fry.md @@ -0,0 +1,5 @@ +--- +"@jarsec/tsconfig": minor +--- + +Update tsconfig based on total typescript cheatsheet diff --git a/packages/tsconfig/tsconfig.json b/packages/tsconfig/tsconfig.json index ed538b7..86e8911 100644 --- a/packages/tsconfig/tsconfig.json +++ b/packages/tsconfig/tsconfig.json @@ -2,26 +2,27 @@ "$schema": "https://json.schemastore.org/tsconfig", "display": "Node 20", "compilerOptions": { + "module": "NodeNext", "target": "es2022", "lib": [ - "es2023" + "es2022" ], - "declaration": true, + "outDir": "dist", + "allowJs": true, + "esModuleInterop": true, + "skipLibCheck": true, + "resolveJsonModule": true, + "moduleDetection": "force", + "isolatedModules": true, + "verbatimModuleSyntax": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, - "module": "node16", - "moduleResolution": "node16", - "resolveJsonModule": true, - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true, "strict": true, - "noImplicitAny": true, - "strictNullChecks": true, - "strictPropertyInitialization": true, - "noUnusedLocals": true, - "noImplicitReturns": true, "noUncheckedIndexedAccess": true, + "noImplicitOverride": true, "allowUnreachableCode": false, - "skipLibCheck": true + "sourceMap": true, + "declaration": false, + "declarationMap": false } }