Skip to content

Commit

Permalink
fix: add missing type in generic
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaevAlexandr committed Aug 6, 2024
1 parent d3f0d44 commit 52b85a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/TreeSelect/__stories__/TreeSelectDocs.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ interface Entity {
title: string;
}

const items: ListItemType<>[] = [
const items: ListItemType<Entity>[] = [
{title: 'one', id: '1'},
{title: 'two', id: '2'},
{title: 'free', id: '3'},
Expand Down

0 comments on commit 52b85a0

Please sign in to comment.