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; };