Skip to content

Conversation

@gwleuverink
Copy link
Collaborator

@gwleuverink gwleuverink commented Jan 7, 2026

I updated the npm packages. We're back at 0 vulnerabilities 🎉

There was a type declaration conflict between @types/node and electron. Electron bundles its own Node.js types that sometimes conflict with the standalone @types/node package.

I added skipLibCheck: true to the TypeScript compiler options. Apparently that's a common fix in Electron land


Another approach would be to lock @types/node down to a version where the types did not conflict. But I like the current fix because the conflict itself seems superficial.

Thoughts appreciated!

@gwleuverink gwleuverink marked this pull request as draft January 7, 2026 13:17
Caused by a type declaration conflict between `@types/node` and `electron`. Electron bundles its own Node.js types that sometimes conflict with the standalone @types/node package.

  The best solution is to add skipLibCheck: true to the TypeScript compiler options
@gwleuverink gwleuverink marked this pull request as ready for review January 7, 2026 13:24
@gwleuverink gwleuverink merged commit 3691895 into main Jan 7, 2026
28 checks passed
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.

3 participants