UNPKG

type-graphql

Version:

Create GraphQL schema and resolvers with TypeScript, using classes and decorators!

3 lines (2 loc) • 172 B
import { TypeValue } from "../decorators/types"; export declare type ValidatorFn<T extends object> = (argValue: T | undefined, argType: TypeValue) => void | Promise<void>;