Typescript and mongoose returning “any” type on find queries

后端 未结 0 333
-上瘾入骨i
-上瘾入骨i 2021-01-17 03:17

I\'m trying to integrate mongoose with typescript:

UserModel.ts:

import mongoose, { Schema, Document, Model } from "mongoose";


interface IU         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题