Typescript error : Expected 0-1 arguments, but got 2

前端 未结 0 1412
忘了有多久
忘了有多久 2020-12-02 01:40

I have mongoose schema which uses timestamp. I tried to run the code it errors out with

error TS2554: Expected 0-1 arguments, but got 2.

  { timestamps: true         


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