It's not yelling at you, just at your types.
Type whatever value in type unions without loosing intellisense and type safety.
type Loose<T> = T | (string & {});Better function type constructor.
type Func<T = any, R = any> = (...args: T[]) => R;| Name | Name | Last commit date | ||
|---|---|---|---|---|