This repository was archived by the owner on Mar 20, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import {
1515 specifiedRules ,
1616 type ASTVisitor ,
1717 type DocumentNode ,
18+ type ValidationRule ,
1819 type ValidationContext ,
1920 type ExecutionArgs ,
2021 type ExecutionResult ,
@@ -80,7 +81,7 @@ export type OptionsData = {|
8081 customValidateFn ?: ?(
8182 schema : GraphQLSchema ,
8283 documentAST : DocumentNode ,
83- rules : $ReadOnlyArray < any > ,
84+ rules : $ReadOnlyArray < ValidationRule > ,
8485 ) => $ReadOnlyArray < GraphQLError > ,
8586
8687 /**
@@ -131,14 +132,14 @@ export type OptionsData = {|
131132 * If not provided, the default field resolver is used (which looks for a
132133 * value or method on the source value with the field's name).
133134 */
134- fieldResolver ?: ?GraphQLFieldResolver < any , any > ,
135+ fieldResolver ?: ?GraphQLFieldResolver < mixed , mixed > ,
135136
136137 /**
137138 * A type resolver function to use when none is provided by the schema.
138139 * If not provided, the default type resolver is used (which looks for a
139140 * `__typename` field or alternatively calls the `isTypeOf` method).
140141 */
141- typeResolver ?: ?GraphQLTypeResolver < any , any > ,
142+ typeResolver ?: ?GraphQLTypeResolver < mixed , mixed > ,
142143| } ;
143144
144145/**
You can’t perform that action at this time.
0 commit comments