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.

10 lines • 469 B
import { Type } from '@nestjs/common'; import { ClassDecoratorFactory } from '../interfaces/class-decorator-factory.interface'; interface PartialTypeOptions { decorator?: ClassDecoratorFactory; omitDefaultValues?: boolean; skipNullProperties?: boolean; } export declare function PartialType<T>(classRef: Type<T>, optionsOrDecorator?: ClassDecoratorFactory | PartialTypeOptions): Type<Partial<T>>; export {}; //# sourceMappingURL=partial-type.helper.d.ts.map