ts-toolbelt
ts-toolbelt copied to clipboard
Detect if value is any
🍩 Feature Request
Describe the solution you'd like
https://stackoverflow.com/questions/61624719/how-to-conditionally-detect-the-any-type-in-typescript
I saw slightly more elegant solution used by react types: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/ce3c84e10e30a3efa6078d5cda57f80c1d539886/types/react/index.d.ts#L3049
cool definitely more elegant that solution