Преглед изворни кода

fix(list): List ts definition bug (#156)

走鹃 пре 4 година
родитељ
комит
c667531e3b
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      packages/semi-ui/list/index.tsx

+ 1 - 1
packages/semi-ui/list/index.tsx

@@ -35,7 +35,7 @@ export interface ListProps {
 
 
 const prefixCls = cssClasses.PREFIX;
 const prefixCls = cssClasses.PREFIX;
 
 
-class List extends BaseComponent<ListProps, void> {
+class List extends BaseComponent<ListProps> {
     static Item = ListItem;
     static Item = ListItem;
 
 
     static propTypes = {
     static propTypes = {