type-graphql
Version:
Create GraphQL schema and resolvers with TypeScript, using classes and decorators!
5 lines (4 loc) • 312 B
TypeScript
import { type AdvancedOptions, type ReturnTypeFunc } from "./types.js";
export declare function Mutation(): MethodDecorator;
export declare function Mutation(options: AdvancedOptions): MethodDecorator;
export declare function Mutation(returnTypeFunc: ReturnTypeFunc, options?: AdvancedOptions): MethodDecorator;