TypeScript generic type inference from function parameters

前端 未结 0 1147
长情又很酷
长情又很酷 2020-12-04 02:16

I\'m trying to build a string render function that takes a an event type and type checks if the correct metaData is provided:

Consider this code:

enum          


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