Initialisation
Added the packages and files for the backend server
This commit is contained in:
16
node_modules/graphql/utilities/coerceInputValue.d.ts
generated
vendored
Normal file
16
node_modules/graphql/utilities/coerceInputValue.d.ts
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
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 {};
|
||||
Reference in New Issue
Block a user