|
|
|
|
|
by rvz
451 days ago
|
|
> Is “unknown” really better than “any”? Neither is better. In fact, 'unknown' is a hack to avoid using 'any' to please the 'type checker' while still not being bothered to write proper type definitions. It's no better than using 'undefined' or 'null' in JS which that is just as horrific and also inherited into TS. This is exactly what is broken in software written in both TS and JS and I cannot take any software written in those languages seriously. |
|