Skip to content

Commit

Permalink
fix: validation errors
Browse files Browse the repository at this point in the history
Signed-off-by: Avior <[email protected]>
  • Loading branch information
Aviortheking committed Jan 2, 2024
1 parent 368a83d commit 1e34e33
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
Binary file modified bun.lockb
Binary file not shown.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
"validate": "tsc --noEmit --project tsconfig.json"
},
"devDependencies": {
"@types/node": "^18",
"ts-node": "^10",
"typescript": "^4"
"@types/node": "^20",
"typescript": "^5"
}
}
19 changes: 16 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,23 @@
{
"include": ["data", "server/compiler", "interfaces.d.ts"],
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"lib": ["ESNext"],
"target": "ESNext",
"module": "ESNext",
"moduleDetection": "force",
"skipLibCheck": true,

"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true
"resolveJsonModule": true,


// Bundler mode
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,

// disabled because it would produce too much errors
"verbatimModuleSyntax": false,
"noEmit": true,
}
}

0 comments on commit 1e34e33

Please sign in to comment.