just icon indicating copy to clipboard operation
just copied to clipboard

Make compatible with TS 4.7

Open angus-c opened this issue 2 years ago • 6 comments

Add "types": "./index.d.ts" to every package.json exports dot property

See https://github.com/angus-c/just/pull/429#issuecomment-1097174234 Existing issue: https://github.com/angus-c/just/issues/428

angus-c avatar Jul 10 '22 19:07 angus-c

Would contributions here still be helpful? Happy to open a PR!

benasher44 avatar Aug 05 '22 14:08 benasher44

Yes please!

angus-c avatar Aug 06 '22 21:08 angus-c

Took a slightly different approach and instead took this all a step closer to being more ESM-ready in #489

benasher44 avatar Aug 08 '22 18:08 benasher44

Thanks Ben! Going to have to do some thorough testing so might not get to this until at least next weekend

angus-c avatar Aug 08 '22 18:08 angus-c

No problem. Thank you!

benasher44 avatar Aug 08 '22 18:08 benasher44

After the latest updates (guessing #488), the packages are now usable by doing import { default as <x> } from "just-<x>";. The open PR would still improve things for NodeNext users, but at least now there is a path forward!

benasher44 avatar Aug 23 '22 17:08 benasher44

Fixed by https://github.com/angus-c/just/pull/489

angus-c avatar Feb 04 '23 21:02 angus-c