|
|
|
|
|
by consilient
1093 days ago
|
|
Things are `any` when they should be `unknown` or generic, mostly. Off the top of my head: - `JSON.parse` and `.json()` on response bodies both return `any`. - `JSON.stringify`'s `replacer` argument is of type `(key: any, string: any) => any`. - `PromiseRejectedResult["reason"]` is `any`. There are certainly many others. |
|