diff options
Diffstat (limited to 'includes/external/school/node_modules/graphql/utilities/coerceInputValue.d.ts')
-rw-r--r-- | includes/external/school/node_modules/graphql/utilities/coerceInputValue.d.ts | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/includes/external/school/node_modules/graphql/utilities/coerceInputValue.d.ts b/includes/external/school/node_modules/graphql/utilities/coerceInputValue.d.ts deleted file mode 100644 index 45c70a5..0000000 --- a/includes/external/school/node_modules/graphql/utilities/coerceInputValue.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { GraphQLInputType } from '../type/definition'; -import { GraphQLError } from '../error/GraphQLError'; - -type OnErrorCB = ( - path: ReadonlyArray<string | number>, - invalidValue: any, - error: GraphQLError, -) => void; - -/** - * Coerces a JavaScript value given a GraphQL Input Type. - */ -export function coerceInputValue( - inputValue: any, - type: GraphQLInputType, - onError?: OnErrorCB, -): any; |