Live data from Hacker News

Branded types for TypeScript

carlos-menezes.com

151–152 of 152 posts

Re: Branded types for TypeScript

#151

Earlier quoted context omitted.

deno does type checking. https://docs.deno.com/runtime/manual/tools/check

Oh! I stand corrected. That's a wrapper for TSC, though, right? Edit to add: I see, Deno embeds TSC as a library and tries to straighten out the mess of tsconfig. That must be a leaky abstraction, which makes me wary, but maybe it works well in practice.

"embeds TSC as a library" understates the integration:

https://github.com/denoland/deno/blob/75efc74931c1021fdc41c9...

https://github.com/denoland/deno/blob/75efc74931c1021fdc41c9...

Deno makes certain tradeoffs that make it feel seamless

Re: Branded types for TypeScript

#152

Earlier quoted context omitted.

Oh! I stand corrected. That's a wrapper for TSC, though, right? Edit to add: I see, Deno embeds TSC as a library and tries to straighten out the mess of tsconfig. That must be a leaky abstraction, which makes me wary, but maybe it works well in practice.

"embeds TSC as a library" understates the integration: https://github.com/denoland/deno/blob/75efc74931c1021fdc41c9... https://github.com/denoland/deno/blob/75efc74931c1021fdc41c9... Deno makes certain tradeoffs that make it feel seamless

I'm now intrigued and might try it out. I like TypeScript but dislike TSC.
Post reply on HN