From 6d957b249159c7ab343f63ff453b9703ce905798 Mon Sep 17 00:00:00 2001 From: Lukas Reineke Date: Wed, 27 Nov 2019 12:06:09 +0900 Subject: [PATCH] T-261 fixed json type --- src/scalars.d.ts | 2 +- src/scalars.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;