diff --git a/src/index.tsx b/src/index.tsx index 559a5e3..eafb5fb 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -47,7 +47,7 @@ export interface TemplateProps { export interface Props { itemKey: string | ((item: I) => string); - template: new (props: any, context?: any) => T; + template: (props: any, context?: any) => React.JSX.Element; list: ReadonlyArray; onMoveEnd?: ( newList: ReadonlyArray,