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.

4 lines • 345 B
import { Type } from '@nestjs/common'; import { ClassDecoratorFactory } from '../interfaces/class-decorator-factory.interface.js'; export declare function PickType<T, K extends keyof T>(classRef: Type<T>, keys: readonly K[], decorator?: ClassDecoratorFactory): Type<Pick<T, (typeof keys)[number]>>; //# sourceMappingURL=pick-type.helper.d.ts.map