Initial Save
This commit is contained in:
15
node_modules/graphql/utilities/isValidLiteralValue.d.ts
generated
vendored
Normal file
15
node_modules/graphql/utilities/isValidLiteralValue.d.ts
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
import { GraphQLError } from '../error/GraphQLError';
|
||||
import { ValueNode } from '../language/ast';
|
||||
import { GraphQLInputType } from '../type/definition';
|
||||
|
||||
/**
|
||||
* Utility which determines if a value literal node is valid for an input type.
|
||||
*
|
||||
* Deprecated. Rely on validation for documents containing literal values.
|
||||
*
|
||||
* This function will be removed in v15
|
||||
*/
|
||||
export function isValidLiteralValue(
|
||||
type: GraphQLInputType,
|
||||
valueNode: ValueNode,
|
||||
): ReadonlyArray<GraphQLError>;
|
||||
Reference in New Issue
Block a user