export type Maybe = Just | { just?: never; error: { message: string } }; export type Just = { just: T; error?: never };