How to make TypeScript Generic constraint apply to a function definition?

后端 未结 0 1193
甜味超标
甜味超标 2020-12-13 16:39

I have a following Preact/React component:

export interface ListItem {
  disabled?: boolean;
}


export interface MyCompProps {
  va         


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