UNPKG

@nestjs/graphql

Version:

GraphQL for NestJS: code-first and schema-first APIs, resolvers as providers, subscriptions, federation and generated SDL, on Apollo or Mercurius.

15 lines • 583 B
import { ReturnTypeFunc } from '../interfaces/return-type-func.interface'; import { ResolveFieldOptions } from './resolve-field.decorator'; /** * Property resolver (method) Decorator. * * @publicApi */ export declare function ResolveProperty(typeFunc?: ReturnTypeFunc, options?: ResolveFieldOptions): MethodDecorator; /** * Property resolver (method) Decorator. * * @publicApi */ export declare function ResolveProperty(propertyName?: string, typeFunc?: ReturnTypeFunc, options?: ResolveFieldOptions): MethodDecorator; //# sourceMappingURL=resolve-property.decorator.d.ts.map