Skip to content

Commit

Permalink
fix: reexport objec-type
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita Bereziuk committed Feb 8, 2024
1 parent 8674d83 commit 8fc1545
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import graphqlFields from "graphql-fields";

export type ObjectType = Record<string | number | symbol, unknown>;

export type GraphQLPrimitiveType = null | number | string | boolean | Date;

export type GraphQLResolveInfo = Parameters<typeof graphqlFields>[0];

export type GraphQLFieldFnEndHandler<Context> = (context: Context) => void;

type ObjectType = Record<string | number | symbol, unknown>;

export type GraphQLFieldFnHandler<Context, RecordLike extends ObjectType> = {
(context: Context): void | GraphQLFieldRecordHandler<Context, RecordLike>;
};
Expand Down

0 comments on commit 8fc1545

Please sign in to comment.