Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {
specifiedRules,
type ASTVisitor,
type DocumentNode,
type ValidationRule,
type ValidationContext,
type ExecutionArgs,
type ExecutionResult,
Expand Down Expand Up @@ -80,7 +81,7 @@ export type OptionsData = {|
customValidateFn?: ?(
schema: GraphQLSchema,
documentAST: DocumentNode,
rules: $ReadOnlyArray<any>,
rules: $ReadOnlyArray<ValidationRule>,
) => $ReadOnlyArray<GraphQLError>,

/**
Expand Down Expand Up @@ -131,14 +132,14 @@ export type OptionsData = {|
* If not provided, the default field resolver is used (which looks for a
* value or method on the source value with the field's name).
*/
fieldResolver?: ?GraphQLFieldResolver<any, any>,
fieldResolver?: ?GraphQLFieldResolver<mixed, mixed>,

/**
* A type resolver function to use when none is provided by the schema.
* If not provided, the default type resolver is used (which looks for a
* `__typename` field or alternatively calls the `isTypeOf` method).
*/
typeResolver?: ?GraphQLTypeResolver<any, any>,
typeResolver?: ?GraphQLTypeResolver<mixed, mixed>,
|};

/**
Expand Down