free-types
free-types copied to clipboard
Applying a function generic from a different context
I ended up here from this typescript issue. and think this library might solve the problem I'm running into.
I'm trying to create an library interface where a generic function can be passed in and the type basically resolved from a different context:
Hopefully this Typescript-Playground isn't too hard to follow.
Sorry for such a direct question, please close/delete if this isn't appropriate.