News for hackers. Stuff that matters.
Re:The perfect configuration format? Try TypeScript by throwaway894345 on Wednesday November 17, 2021 @12:19PM (#29255852)
TypeScript has at least 2 implementations: tsc and Deno, but I take your point and agree. That said, most languages probably have a JS runtime, so a basic implementation would be ts->js->interpreter. The ts->js is presumably pretty easy.
Re:The perfect configuration format? Try TypeScript by dangoor on Wednesday November 17, 2021 @12:45PM (#29256255)
I'm pretty sure Deno just uses the open source TypeScript compiler: https://github.com/denoland/deno/tree/main/cli/tsc
Re:The perfect configuration format? Try TypeScript by remorses on Wednesday November 17, 2021 @12:50PM (#29256319)
They use swc for transpilation and bundling but, yes, for checking the only solution available now is tsc
Re:The perfect configuration format? Try TypeScript by junon on Wednesday November 17, 2021 @12:43PM (#29256213)
I don't think Deno actually re-implements typescript, does it? Seems like a lot of wasted effort. They don't even use Typescript internally.
Re:The perfect configuration format? Try TypeScript by Soremwar on Wednesday November 17, 2021 @07:59PM (#29260912)
Reimplement in the way that they change certain rules to accommodate a more "modern JS" feel

And they absolutely use TS for the std library, just not in the runtime itself

Re:The perfect configuration format? Try TypeScript by junon on Wednesday November 17, 2021 @09:46PM (#29261493)
> Reimplement in the way that they change certain rules to accommodate a more "modern JS" feel

What exactly do you mean by this?

> And they absolutely use TS for the std library, just not in the runtime itself

Yes, internally. The code that actually makes up deno itself is just plain Javascript.