diff --git a/src/scalars.d.ts b/src/scalars.d.ts index 30ec30c..180e805 100644 --- a/src/scalars.d.ts +++ b/src/scalars.d.ts @@ -1,7 +1,7 @@ export declare type ObjectId = string; export declare type NonEmptyString = string; export declare type DateISO = Date | string; -export declare type JSONObject = object; +export declare type JSONObject = Record; interface SingleValueFilter { field: string; operator: 'EQUALS' | 'NOT_EQUALS' | 'CONTAINS' | 'ICONTAINS' | 'GT' | 'GTE' | 'LT' | 'LTE'; diff --git a/src/scalars.ts b/src/scalars.ts index 6317281..8aa23bf 100644 --- a/src/scalars.ts +++ b/src/scalars.ts @@ -1,7 +1,7 @@ export type ObjectId = string; export type NonEmptyString = string; export type DateISO = Date | string; -export type JSONObject = object; +export type JSONObject = Record; interface SingleValueFilter { field: string;