type-graphql
Version:
Create GraphQL schema and resolvers with TypeScript, using classes and decorators!
5 lines (4 loc) • 514 B
TypeScript
import { type TypeValue } from "../decorators/types.js";
import { type ValidateSettings } from "../schema/build-context.js";
import { type ResolverData, type ValidatorFn } from "../typings/index.js";
export declare function validateArg(argValue: any | undefined, argType: TypeValue, resolverData: ResolverData, globalValidateSettings: ValidateSettings, argValidateSettings: ValidateSettings | undefined, globalValidateFn: ValidatorFn | undefined, argValidateFn: ValidatorFn | undefined): Promise<any | undefined>;