@nestjs/graphql
Version:
Nest - modern, fast, powerful node.js web framework (@graphql)
14 lines • 427 B
TypeScript
import { ReturnTypeFunc } from '../interfaces/return-type-func.interface';
/**
* Decorator that marks a class as a GraphQL scalar.
*
* @publicApi
*/
export declare function Scalar(name: string): ClassDecorator;
/**
* Decorator that marks a class as a GraphQL scalar.
*
* @publicApi
*/
export declare function Scalar(name: string, typeFunc: ReturnTypeFunc): ClassDecorator;
//# sourceMappingURL=scalar.decorator.d.ts.map