Re:A 'CSS reset' for TypeScript, improving types for common ...
by jeroenhd on Friday March 03, 2023 @01:47AM
(#35006591)
It depends on your setup. I've worked with a tslint setup that treats `any` as an error, only accepting `unknown` (or in bad situations, `never`) for stuff like Javascript code.
If you treat `unknown` as C's `void*`, then you're not getting much out of your type checks.
If you treat `unknown` as C's `void*`, then you're not getting much out of your type checks.