Skip to content

Commit cf1abfd

Browse files
Alexander Konstantinovdiogofcunha
authored andcommitted
fixed Typescript Generic typing error
1 parent 7c0b6ed commit cf1abfd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ export interface RendererProps<T> {
5353
children?: React.ReactNode;
5454
}
5555

56-
export type InjectedRendererProps = Omit<RendererProps<T>, 'iconsClassNameMap'>;
57-
export type CustomRendererProps = Omit<RendererProps<T>, 'style'>;
56+
export interface InjectedRendererProps<T> extends Omit<RendererProps<T>, 'iconsClassNameMap'> {}
57+
export interface CustomRendererProps<T> extends Omit<RendererProps<T>, 'style'> {}
5858

5959
type DeletableRenderProps = CustomRendererProps<{delete?: string}>;
6060

0 commit comments

Comments
 (0)