I would like to do something like below
type TypeA<T> = (initialValue: T) => { ... }
const someFunc: <T>(TypeA<T>) = (initalValue) => {...} // doesn't work
someFunc<string>('Hello World')
Not
const someFunc:TypeA<string> = (initalValue) => {...}
Is this feasible?
Thank you for your time!