TypeScript: How to create a generic type for each of the types keys

前端 未结 0 826
迷失自我
迷失自我 2020-12-03 00:24

I currently have the following problem. I want to create a generic type where all keys of a type will have a certain type. Specifically I am handling a search query in mongo

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