Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions typescript/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"devDependencies": {
"@types/node": "^22.0.0",
"tsdown": "^0.22.2",
"typescript": "^5.7.0"
"typescript": "^6.0.0"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non-blocking: Consider adding an explicit "types" field to tsconfig.json to align with TypeScript 6.0 best practices.

Why it matters: TypeScript 6.0 changed the default for types from auto-including all @types/* packages to an empty array []. While your project has "skipLibCheck": true which mitigates most issues, explicitly declaring "types": ["node"] makes the global type dependency clear and improves build performance by avoiding unnecessary type loading.

Suggested fix: Add to typescript/tsconfig.json:

{
  "compilerOptions": {
    "types": ["node"],
    // ... rest of options
  }
}

This is also recommended by the TypeScript 6.0 migration guide.

},
"repository": {
"type": "git",
Expand Down
Loading