Suppose we have some concrete types A, B, C, etc. Also we have a wrapper type: Wrapper<T> where T could be any types e.g. A, B.
I need a variadic function that takes some Wrapper<T>s and returns the wrapped values as a tuple: [].
let wa: Wrapper<A>;
let wb: Wrapper<B>;
let wc: Wrapper<C>;
let result = myFunction(wa, wb, wc);
In this example result should be of type [A, B, C]. I don't know how to write the type of myFunction. Can you help?