I wish the TypeScript team can actually make a good and fast compiler with type inference support. There are so many opportunities for minimization, optimization, conditional builds, instrumentation, and so on if we can utilize the type info from the TypeScript compiler. Unfortunately the TypeScript team never commit to requests like these, and only commit to idiomatic JavaScript transpilation.[1][2]
And because TypeScript is so complex and development is so heavy, third party attempts on making a type checker have never succeeded.[3]
I'm curious how far React Compiler can go without the access to TypeScript type info, and if they would invest in compiler tooling for TypeScript in the future. But considering Meta has Flow as their in-house alternative to TypeScript, they might not have the incentive in investing in the TypeScript ecosystem.
And because TypeScript is so complex and development is so heavy, third party attempts on making a type checker have never succeeded.[3]
I'm curious how far React Compiler can go without the access to TypeScript type info, and if they would invest in compiler tooling for TypeScript in the future. But considering Meta has Flow as their in-house alternative to TypeScript, they might not have the incentive in investing in the TypeScript ecosystem.
[1]: https://github.com/microsoft/TypeScript/issues/8#issuecommen...
[2]: https://github.com/microsoft/TypeScript/issues/661#issuecomm...
[3]: https://github.com/dudykr/stc/issues/1101