Files
Home_Buying_App/node_modules/graphql/utilities/coerceInputValue.d.ts
jackbeeby b412dfe2ca Initialisation
Added the packages and files for the backend server
2024-12-15 17:48:45 +11:00

17 lines
443 B
TypeScript

import { GraphQLError } from '../error/GraphQLError';
import type { GraphQLInputType } from '../type/definition';
declare type OnErrorCB = (
path: ReadonlyArray<string | number>,
invalidValue: unknown,
error: GraphQLError,
) => void;
/**
* Coerces a JavaScript value given a GraphQL Input Type.
*/
export declare function coerceInputValue(
inputValue: unknown,
type: GraphQLInputType,
onError?: OnErrorCB,
): unknown;
export {};