Closed MajorLift closed 2 months ago
@MajorLift I believe that this is one of the design goals of ts-bridge
and so it does this by default. If you view the latest version of @metamask/utils
you can see separate .d.cts
and .d.mts
files: https://npmfs.com/package/@metamask/utils/8.5.0/dist/
We should set up
ts-bridge
to generate and expose unambiguous.d.cts
and.d.mts
type declarations only.Using
.d.ts
causes issues in downstream projects that have theirmoduleResolution
option set toNode16
orNodeNext
.e.g.