pin-node-type-surface: Pin Node ambient type surface #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "task/pin-node-type-surface"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Assigned idea
Make the TypeScript Node ambient type dependency explicit and version-stable for the checked JavaScript tooling files covered by the repository tsconfig.
Approach: Audit the package metadata for the dependency that satisfies tsconfig.json's
types: ["node"], add or tighten the explicit@types/nodedevDependency if it is missing or floating, and keep the change limited to TypeScript configuration/package metadata so runtime code is unaffected.Verification: Run
pnpm install --frozen-lockfileandpnpm exec tsc -p tsconfig.jsonto confirm thescripts,*.config.*, andvitest.workspace.jsfiles still typecheck with the pinned Node types.Risk: Low; the change only affects development-time ambient types, though a stricter Node type version may reveal existing type errors in checked JS tooling files.
Agent context
Task slug: pin-node-type-surface
Branch: task/pin-node-type-surface
LGTM
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.