Typescript union equivalent in Mongoose?

前端 未结 0 1594
陌清茗
陌清茗 2021-02-01 16:03

I\'ve gotten used to thinking with typescript, and I\'m trying to store the following with mongoose.

interface Point {
    x: number;
    y: number;
}

interface          


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