typescript generics: what does mean?

前端 未结 0 1326
走了就别回头了
走了就别回头了 2020-12-30 23:36

I try to understand the code (part of a React app):

interface SearchProps {
  className?: string;
  value?: T;
  options?: T[];
  onChange?: (event:          


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