From 8fc154508eae342fb33de5a7925678c334dcb5bb Mon Sep 17 00:00:00 2001 From: Nikita Bereziuk Date: Thu, 8 Feb 2024 11:16:58 +0200 Subject: [PATCH] fix: reexport objec-type --- src/types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types.ts b/src/types.ts index be1122e..49f0aad 100644 --- a/src/types.ts +++ b/src/types.ts @@ -1,13 +1,13 @@ import graphqlFields from "graphql-fields"; +export type ObjectType = Record; + export type GraphQLPrimitiveType = null | number | string | boolean | Date; export type GraphQLResolveInfo = Parameters[0]; export type GraphQLFieldFnEndHandler = (context: Context) => void; -type ObjectType = Record; - export type GraphQLFieldFnHandler = { (context: Context): void | GraphQLFieldRecordHandler; };