fix ts problems
ci / build (push) Failing after 2m3s Details

This commit is contained in:
CJ_Clippy 2024-07-16 00:35:10 -08:00
parent 841c918e5f
commit 0856d73473
2 changed files with 8 additions and 5 deletions

View File

@ -8,7 +8,7 @@
"./activities.js": "./dist/activities.js" "./activities.js": "./dist/activities.js"
}, },
"scripts": { "scripts": {
"build": "tsc --build", "build": "tsc --build ./tsconfig.json",
"build.watch": "tsc --build -w --preserveWatchOutput", "build.watch": "tsc --build -w --preserveWatchOutput",
"lint": "eslint ." "lint": "eslint ."
}, },

View File

@ -12,17 +12,20 @@
"strict": true, "strict": true,
"noUncheckedIndexedAccess": true, "noUncheckedIndexedAccess": true,
"noImplicitOverride": true, "noImplicitOverride": true,
"declaration": true,
"declarationMap": true,
"sourceMap": true,
// Transpile our TypeScript code to JavaScript // Transpile our TypeScript code to JavaScript
"module": "NodeNext", "module": "NodeNext",
"outDir": "dist", "outDir": "./dist",
"lib": [ "lib": [
"es2022" "es2022"
] ],
"rootDir": "src"
}, },
// Include the necessary files for your project // Include the necessary files for your project
"include": [ "include": [
"**/*.ts", "src/**/*.ts"
"**/*.tsx"
], ],
"exclude": [ "exclude": [
"node_modules" "node_modules"