diff --git a/packages/nocodb/src/utils/globals.ts b/packages/nocodb/src/utils/globals.ts index f3bce47faf..0a31046558 100644 --- a/packages/nocodb/src/utils/globals.ts +++ b/packages/nocodb/src/utils/globals.ts @@ -176,7 +176,7 @@ export const GROUPBY_COMPARISON_OPS = [ 'gb_eq', 'gb_null', ]; -export const COMPARISON_OPS = ([ +export const COMPARISON_OPS = [ 'eq', 'neq', 'not', @@ -206,7 +206,7 @@ export const COMPARISON_OPS = ([ 'isWithin', 'btw', 'nbtw', -]) as any; +]; export const IS_WITHIN_COMPARISON_SUB_OPS = [ 'pastWeek',