flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
17
BACK_BACK/node_modules/graphql/utilities/coerceInputValue.d.ts
generated
vendored
Executable file
17
BACK_BACK/node_modules/graphql/utilities/coerceInputValue.d.ts
generated
vendored
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue