From a05e588cc800bef60fe172e39e2771077aa990e6 Mon Sep 17 00:00:00 2001 From: yage Date: Tue, 17 Jan 2023 12:28:13 -0700 Subject: [PATCH] added initial typescript config --- config/tsconfig.json | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 config/tsconfig.json diff --git a/config/tsconfig.json b/config/tsconfig.json new file mode 100644 index 0000000..a0a5639 --- /dev/null +++ b/config/tsconfig.json @@ -0,0 +1,30 @@ +{ + "$schema": "https://json.schemastore.org/tsconfig", + "display": "yage default", + "compilerOptions": { + "lib": ["es2022"], + "module": "es2022", + "target": "es2022", + "strict": true, + "esModuleInterop": true, + "skipLibCheck": true, + "forceConsistentCasingInFileNames": true, + "moduleResolution": "NodeNext", + "allowUnusedLabels": false, + "allowUnreachableCode": false, + "exactOptionalPropertyTypes": true, + "noFallthroughCasesInSwitch": true, + "noImplicitOverride": true, + "noImplicitReturns": true, + "noPropertyAccessFromIndexSignature": true, + "noUncheckedIndexedAccess": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "importsNotUsedAsValues": "error", + "checkJs": true, + "outDir": "dist", + "allowSyntheticDefaultImports": true + }, + "include": ["src"], + "exclude": ["node_modules", "dist"] +}