UNPKG

393 BTypeScriptView Raw
1import { ReturnTypeFunc } from '../interfaces/return-type-func.interface';
2/**
3 * Decorator that marks a class as a GraphQL scalar.
4 */
5export declare function Scalar(name: string): ClassDecorator;
6/**
7 * Decorator that marks a class as a GraphQL scalar.
8 */
9export declare function Scalar(name: string, typeFunc: ReturnTypeFunc): ClassDecorator;
10//# sourceMappingURL=scalar.decorator.d.ts.map
\No newline at end of file