What should be the type of a field in schema if “any” cannot be used in Nest.js?

前端 未结 0 733
有刺的猬
有刺的猬 2021-01-06 21:08

I\'m working in Nest.js using Mongoose. While creating schema, I have a field extra_options which can store any type of value (array, object, string etc). Keeping its type a

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