Skip to content

fix: upgrade TypeScript to 5.2 to resolve @types/node ffi.d.ts syntax errors#355

Merged
huaxiabuluo merged 4 commits into
masterfrom
copilot/fix-ci-job-failure
Jul 22, 2026
Merged

fix: upgrade TypeScript to 5.2 to resolve @types/node ffi.d.ts syntax errors#355
huaxiabuluo merged 4 commits into
masterfrom
copilot/fix-ci-job-failure

Conversation

Copilot AI commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

@types/node (transitive dependency) uses the using/await using explicit resource management syntax introduced in TypeScript 5.2. TypeScript 4.x cannot parse this syntax — even with skipLibCheck: true — causing 50 syntax errors and a build failure in father build / gulp-typescript.

Change

  • Bumped typescript in devDependencies from ^4.1.3^5.2.0

TypeScript 5.x is backward compatible with the existing source. @typescript-eslint@5.x (used for linting) supports TypeScript up to 5.4.x, so no ESLint changes are needed.

Copilot AI changed the title [WIP] Fix failing GitHub Actions job ci fix: upgrade TypeScript to 5.2 to resolve @types/node ffi.d.ts syntax errors Jul 21, 2026
Copilot AI requested a review from huaxiabuluo July 21, 2026 04:48
@huaxiabuluo
huaxiabuluo marked this pull request as ready for review July 22, 2026 06:28
@gemini-code-assist

Copy link
Copy Markdown

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@huaxiabuluo
huaxiabuluo merged commit 1f56c86 into master Jul 22, 2026
3 checks passed
@huaxiabuluo
huaxiabuluo deleted the copilot/fix-ci-job-failure branch July 22, 2026 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants