UNPKG

@nestjs/mongoose

Version:

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

9 lines (8 loc) 287 B
import { VirtualTypeOptions } from 'mongoose'; export interface VirtualOptions { options?: VirtualTypeOptions; subPath?: string; get?: (...args: any[]) => any; set?: (...args: any[]) => any; } export declare function Virtual(options?: VirtualOptions): PropertyDecorator;