Skip to content

Commit

Permalink
Merge 066925e into 2a2c1ff
Browse files Browse the repository at this point in the history
  • Loading branch information
zaguiini committed May 20, 2020
2 parents 2a2c1ff + 066925e commit 26681b4
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions types/graphql-resolvers/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
// Type definitions for graphql-resolvers 0.2
// Type definitions for graphql-resolvers 0.3
// Project: https://github.com/lucasconstantino/graphql-resolvers#readme
// Definitions by: Mike Engel <https://github.com/mike-engel>
// Alejandro Corredor <https://github.com/aecorredor>
// Definitions by: Alejandro Corredor <https://github.com/aecorredor>
// Luis Felipe Zaguini <https://github.com/zaguiini>
// Mike Engel <https://github.com/mike-engel>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.0

import { IFieldResolver } from "graphql-tools";
import { GraphQLResolveInfo } from "graphql";
import { MergeInfo } from "graphql-tools";

export type IFieldResolver<TSource, TContext, TArgs = Record<string, any>, TReturn = any> = (
source: TSource,
args: TArgs,
context: TContext,
info: GraphQLResolveInfo & { mergeInfo?: MergeInfo },
) => TReturn;

export const skip: undefined;

Expand Down

0 comments on commit 26681b4

Please sign in to comment.