function unwrap_optional(node) {
	return node.type === 'ChainExpression' ? node.expression : node;
}
@template {ESTree.SimpleCallExpression | ESTree.MemberExpression} T
@param {ESTree.ChainExpression & { expression : T } | T} node
@returns {T}