Using `effect.fn` with Generics
can i use effect.fn with generics?
like i have this
and want MutationName to be available as generic, e.g. T
like i have this
and want MutationName to be available as generic, e.g. T
const mutate = Effect.fn('mutate')(function* (
type: MutationName,
ticketId: string,
payload: MutationPayload<MutationName>,
) {