3 ms·
does TS even have a spec? I thought the type checking rules are basically "whatever tsc does"
by pharmakom 3y ago
does TS even have a spec? I thought the type checking rules are basically "whatever tsc does"
- pjmlp 3y agoWhich means being always behind. I rather have the Typescript team improve the experience, on their bootstrapped compiler.
- presentation 3y agoYeah, 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 https://stc.dudy.dev/blog/this-week-in-stc/week-23
- jillesvangurp 3y agoThere 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-typescript-language-specification-document-up-to-date https://stackoverflow.com/questions/52148566/is-the-typescri...