UNPKG

526 BTypeScriptView Raw
1import { Type } from '@nestjs/common';
2import 'reflect-metadata';
3import { ArgsType, InputType, InterfaceType, ObjectType } from '../../decorators';
4import { PropertyMetadata } from '../metadata';
5export declare function getFieldsAndDecoratorForType<T>(objType: Type<T>): {
6 fields: PropertyMetadata[];
7 decoratorFactory: ClassDecorator;
8};
9declare type ClassDecorator = typeof ArgsType | typeof InterfaceType | typeof ObjectType | typeof InputType;
10export {};
11//# sourceMappingURL=get-fields-and-decorator.util.d.ts.map
\No newline at end of file