|
|
|
|
|
by bluepnume
2698 days ago
|
|
> Show me a Typescript codebase not using the type 'any'! https://github.com/krakenjs/zoid Admittedly Flow, not TypeScript -- but 99% the same thing syntax-wise. And yes -- it was difficult to set up and get working comprehensively, but now it's there, it's fairly easy to maintain, and it's invaluable when refactoring, accepting PRs, or adding new features. Most people using `any` should really be using `mixed` (flow) or `unknown` (ts) which at least force you to check before you use some property of those types. |
|