dx: fix typescript slowness
As a ts developer, I want typescript to give me feedback immediately so that I can use its errors and hints to guide my understanding and increase the correctness of the code.
--
Original situation: Ts needs 11 seconds to check the code. With iterative checking, it's usually around 2-5s. it's almost completely unusable.
--
Acceptance criteria:
-
In 95% of cases, typescript gives the developer feedback at the line I'm currently editing within less than 1s -
The solution works in vscode and zed -
Onboarding new developers is not hampered significantly by the solution to the compile-time performance
--
Also see: https://github.com/biomejs/biome/issues/2017
Potential fix: https://gitnation.com/contents/arktype-bringing-typescript-to-runtime [discussed in thread below]
Edited by Flupsi