Selaa lähdekoodia

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

走鹃 4 vuotta sitten
vanhempi
sitoutus
c667531e3b
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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;
 
-class List extends BaseComponent<ListProps, void> {
+class List extends BaseComponent<ListProps> {
     static Item = ListItem;
 
     static propTypes = {