I think this param should be `ol.expr.Expression` instead.  This should not get called with literal values.  It may get called with `ol.expr.Literal` though.