UNPKG

@nestjs/mongoose

Version:

Nest - modern, fast, powerful node.js web framework (@mongoose)

4 lines (3 loc) 214 B
import * as mongoose from 'mongoose'; export type PropOptions<T = any> = Partial<mongoose.SchemaDefinitionProperty<T>> | mongoose.SchemaType; export declare function Prop(options?: PropOptions): PropertyDecorator;