Spaces:
Paused
Paused
Download node_modules/graphql/utilities/coerceInputValue.d.ts from sam522/GenAI_Course: direct link, hf CLI and curl.
- Browser
- Download file 443 Bytes
-
https://huggingface.co/spaces/sam522/GenAI_Course/resolve/2fd35fe0dbbccdd816285ca3b098a170940cfdef/node_modules/graphql/utilities/coerceInputValue.d.ts
- Command line
-
hf download hf://spaces/sam522/GenAI_Course@2fd35fe0dbbccdd816285ca3b098a170940cfdef/node_modules/graphql/utilities/coerceInputValue.d.ts
-
curl -L -o coerceInputValue.d.ts https://huggingface.co/spaces/sam522/GenAI_Course/resolve/2fd35fe0dbbccdd816285ca3b098a170940cfdef/node_modules/graphql/utilities/coerceInputValue.d.ts
443 Bytes
| 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 {}; | |