/** * Result */ export type Result = { error: E, data: undefined } | { error: undefined, data: D }