Transform Either<Record<string, A>, E> to Record<string, Either<A, E>>

Ok now a really stupid question that I should be able to figure out but I'm rusty on my FP mentality right now:
// I have
Either<Record<string, A>, E>

// I want to turn it inside out 🎢
Record<string, Either<A, E>>

// 🎸🎢 Find nothing but faith in nothing 
// ^ music jokes πŸ˜…
Was this page helpful?