onSome of Option.match. I'm pretty sure it's a typescript limitation (i.e. not a bug in effect or anything)...but I'm not sure how to avoid the type issues yet. I feel like there's gotta be a different way to structure the logic that would avoid the issues