Skip to content

Sinclair Q&A #252

Answered by sinclairzx81
jessekrubin asked this question in Q&A
Sep 27, 2022 · 2 comments · 5 replies
Discussion options

You must be logged in to vote

@jessekrubin Hi, see answers below.

Do you plan on plan on publishing es module(s)?

Yes. I may take another look at ESM publishing relatively soon based on comment #230 (comment). However for the time being, CJS publishing for NPM should work fine across both CJS and Node ESM. For Deno, esm.sh is the preference until the new npm: import specifiers are fully supported.

Do you think you will add support for json type def?

JSON Type Definition has been considered, but probably won't make it into TypeBox as standard. There's a couple of reasons for this, but I feel the main one is that JTD doesn't really capture all the semantics of TypeScript's structural type system. JTD does seem largely o…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@jessekrubin
Comment options

@sinclairzx81
Comment options

@jessekrubin
Comment options

@jessekrubin
Comment options

@jessekrubin
Comment options

Answer selected by sinclairzx81
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants