As part of our OKR for upgrading TypeScript to v5.0+ (Q2 2024 O3KR4), we are updating our core dependencies to generate builds and type declarations for both CJS and ESM.
Tasks
Replace all references to superstruct with ESM-compatible @metamask/superstruct fork.
Set TypeScript module, moduleResolution options to NodeNext.
Explanation
As part of our OKR for upgrading TypeScript to v5.0+ (Q2 2024 O3KR4), we are updating our core dependencies to generate builds and type declarations for both CJS and ESM.
Tasks
superstruct
with ESM-compatible@metamask/superstruct
fork.module
,moduleResolution
options toNodeNext
.References