How to create a generic TypeScript interface which matches any type/interface/object with restrictions on types for values inside it?

前端 未结 0 861
醉梦人生
醉梦人生 2021-01-22 00:15

I want to create a generic TypeScript interface which matches any type or interface or object with restrictions on types for values inside it.

Here\'s MyInterface

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