Skip to content

chore(deploy): include node types in tsconfig - #15

Merged
FabienCoutant merged 1 commit into
devfrom
chore/tsconfig-node-types
Jun 18, 2026
Merged

FabienCoutant merged 1 commit into
devfrom
chore/tsconfig-node-types

Conversation

@FabienCoutant

Copy link
Copy Markdown
Contributor

Follow-up to #14 (merged before this one-line fix landed).

Explicitly add "types": ["node"] so editors/TS language servers resolve Node globals (console, process) in the deploy scripts. tsc already resolved them via auto-included @types/node, but some TS language servers (the IDE) did not, surfacing a false "Cannot find name 'console'" in the deploy scripts.

No behavior change; tsc --noEmit stays clean.

Explicitly add "types": ["node"] so editors resolve Node globals
(console, process) in the deploy scripts. tsc already resolved them
via auto-included @types/node, but some TS language servers do not.
@FabienCoutant
FabienCoutant merged commit 6f0827e into dev Jun 18, 2026
3 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.

1 participant