UNPKG

204 BTypeScriptView Raw
1import { Type } from '@nestjs/common';
2import * as mongoose from 'mongoose';
3export declare class SchemaFactory {
4 static createForClass<TClass = any>(target: Type<TClass>): mongoose.Schema<TClass>;
5}