Skip to content

fix: add types:node to tsconfig for TypeScript 6 compatibility#64

Merged
guhcostan merged 1 commit into
mainfrom
fix/tsconfig-node-types
Jun 9, 2026
Merged

fix: add types:node to tsconfig for TypeScript 6 compatibility#64
guhcostan merged 1 commit into
mainfrom
fix/tsconfig-node-types

Conversation

@guhcostan

Copy link
Copy Markdown
Owner

Summary

  • Adds "types": ["node"] to tsconfig.json compiler options

Context

TypeScript 6 (coming in dependabot PR #60) no longer implicitly includes Node.js globals. Without this change, process, Buffer, NodeJS, child_process, fs/promises, path, and os all fail with TS2591. This is a one-liner fix that unblocks that upgrade.

Merging this first makes PR #60 mergeable without any additional changes.

Test plan

  • npm run typecheck — passes clean

TypeScript 6 no longer implicitly includes Node.js globals (process,
Buffer, NodeJS namespace, etc.). Explicit `types: ["node"]` is required.

Unblocks dependabot PR #60 (typescript 5→6 bump).
@guhcostan guhcostan merged commit 26715db into main Jun 9, 2026
5 checks passed
@guhcostan guhcostan deleted the fix/tsconfig-node-types branch June 9, 2026 17:09
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.

1 participant