Skip to content

chore: load @types/node explicitly in tsconfig - #16

Merged
finalerock44 merged 1 commit into
mainfrom
chore/tsconfig-types-node
Oct 7, 2026
Merged

finalerock44 merged 1 commit into
mainfrom
chore/tsconfig-types-node

Conversation

@finalerock44

Copy link
Copy Markdown
Contributor

TypeScript 6 changes the types default to [], so @types/node is no longer picked up automatically and pnpm build fails with "Cannot find name 'process'" (and require, console, URL). That is what fails the TypeScript 6.0.3 bump in #15. Listing node in types works on 5.9 too, so this can land first and #15 rebases onto it. The build output is byte-identical to the committed dist/index.js.

TypeScript 6 changes the `types` default to [], so @types/node is no
longer picked up automatically and `pnpm build` fails with "Cannot find
name 'process'" (and require, console, URL). That is what fails the
TypeScript 6.0.3 bump in #15. Listing node in `types` works on 5.9 too,
so this can land first and #15 rebases onto it. The build output is
byte-identical to the committed dist/index.js.
@finalerock44 finalerock44 self-assigned this Oct 7, 2026
@finalerock44
finalerock44 merged commit 312805b into main Oct 7, 2026
3 checks passed
@finalerock44
finalerock44 deleted the chore/tsconfig-types-node branch October 7, 2026 11:53
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