|
|
|
|
|
by spraak
2484 days ago
|
|
> If something gets typed as `any` all bets are off and there are no benefits. Then why allow `any`? Using TS without the compiler and linter configs tuned to your benefit is like trying to use a plane only as a car. No discipline required if you let yourself fly with settings that set you up for long term success later. Also, Flow is not on the same level as TS. It's a dead project and was never fully baked. |
|
That was the whole sell of "gradual typing," was it not? That you could turn it on, type everything as `any` then add better types as you go with the goal of eventually having a fully typed code base.
Except in our experience you'll always be playing catch up and never get to the promised land.