Is it possible in Typescript to make a generic type that removes keys from given type based on their types

后端 未结 0 722

I\'m trying to make a generic type which will make keys of the given type required if they are a certain type. Rest of the keys should be optional or omitted.

Consider th

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