free-types icon indicating copy to clipboard operation
free-types copied to clipboard

Applying a function generic from a different context

Open ChuckJonas opened this issue 1 year ago • 6 comments

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.

ChuckJonas avatar Mar 16 '23 20:03 ChuckJonas