export type OperatorType = '+' | '-' | '*' | '/' export type Operation = { left: number | null right: number | null operator: OperatorType | null }