Skip to content

Refresh @types/* to match the Node 24 target #4215

Description

@mswilkison

Both packages declare types for runtimes they no longer target:

Package random-beacon ecdsa Note
@types/node ^16.10.5 ^17.0.10 The toolchain is moving to Node 24
@types/mocha ^9.0.0 mocha 11 is current, and Hardhat 3 requires it (#4209)
@types/chai ^4.2.22 chai 5 is required by Hardhat 3 (#4209)

Low risk, not zero: @types/node majors regularly tighten Buffer, stream and process signatures. The CI typecheck gate from #4207 will catch whatever moves.

One gotcha after #4208: both tsconfig.json files now set types explicitly, because TypeScript 6 stopped auto-including every @types package. Anything added here that contributes globals must be named in that list or it silently does nothing.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions