Skip to content

Use types for Node 22 #70

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 4, 2025
Merged

Use types for Node 22 #70

merged 2 commits into from
Jan 4, 2025

Conversation

JstnMcBrd
Copy link
Owner

Despite using node libraries, I didn't have @types/node listed as a dependency - instead, I was relying on a version installed as subdependency, which was using v20 when I run node v22.


Changed

  • Pinned @types/node version to match version in nvmrc
  • discord.js type issue link

Fixed

  • Type errors from using @types/node@20

@JstnMcBrd JstnMcBrd added the bug Something isn't working label Jan 4, 2025
@JstnMcBrd JstnMcBrd self-assigned this Jan 4, 2025
@JstnMcBrd JstnMcBrd merged commit 84a0d90 into main Jan 4, 2025
3 checks passed
@JstnMcBrd JstnMcBrd deleted the mcb/node-types branch January 4, 2025 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant