News for hackers. Stuff that matters.
Re:Show HN: Ezno, a TypeScript checker written in Rust, is n... by pharmakom on Thursday June 08, 2023 @02:43AM (#36238136)
does TS even have a spec? I thought the type checking rules are basically "whatever tsc does"
Re:Show HN: Ezno, a TypeScript checker written in Rust, is n... by jillesvangurp on Thursday June 08, 2023 @03:31AM (#36238466)
There is a specification but it's fallen a bit behind the implementation. Of course the implementation is open source, pretty well documented and covered in lots of tests. So, you could think of that as a living specification.

Some pointers from this stackoverflow discussion:

https://stackoverflow.com/questions/52148566/is-the-typescri...

Re:Show HN: Ezno, a TypeScript checker written in Rust, is n... by presentation on Thursday June 08, 2023 @02:59AM (#36238246)
Yeah, stc seems to be just using the TypeScript test suite as a proxy for completeness. Pretty far along, but unclear when it will actually be usable.

https://stc.dudy.dev/blog/this-week-in-stc/week-23

Re:Show HN: Ezno, a TypeScript checker written in Rust, is n... by pjmlp on Thursday June 08, 2023 @04:45AM (#36238951)
Which means being always behind. I rather have the Typescript team improve the experience, on their bootstrapped compiler.