UNPKG

287 BTypeScriptView Raw
1import { VirtualTypeOptions } from 'mongoose';
2export interface VirtualOptions {
3 options?: VirtualTypeOptions;
4 subPath?: string;
5 get?: (...args: any[]) => any;
6 set?: (...args: any[]) => any;
7}
8export declare function Virtual(options?: VirtualOptions): PropertyDecorator;