This parses:
Yet the type seems to be:
export interface BinaryExpressionNode {
type: 'binary-expression',
operator: '>' | '<' | '=' | '>=' | '<=' | '+' | '-' | '&',
left: Node,
right: Node
}
Note the "*"
is missing, which typescript raises as an issue: