Type-safe `withLabel` function
How can I do this, but without the type error when I use it?

export const withLabel =
(label: string) =>
<A, E, R>(eff: Effect.Effect<A, E, R>) => {
return eff.pipe(Effect.withLogSpan(label), Effect.withSpan(label))
}