Open olehcambel opened 4 years ago
I changed types for method wrap and it seems to work in the same way and without overloading. If you like it, I can write for the rest of methods. However, I don't know how to handle T extends any[] - to exclude any
wrap
T extends any[]
I guess T extends any[] is fine.
I changed types for method
wrap
and it seems to work in the same way and without overloading. If you like it, I can write for the rest of methods. However, I don't know how to handleT extends any[]
- to exclude any