Skip to content

Commit 28be996

Browse files
committed
Fix partial TypeScript misalignment
Addresses #145.
1 parent 279e093 commit 28be996

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/index.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ declare module "react-checkbox-tree" {
4242
expandDisabled?: boolean;
4343
expandOnClick?: boolean;
4444
icons?: Icons;
45+
id?: string;
4546
lang?: Language;
4647
name?: string;
4748
nameAsArray?: boolean;
@@ -51,7 +52,7 @@ declare module "react-checkbox-tree" {
5152
optimisticToggle?: boolean;
5253
showExpandAll?: boolean;
5354
showNodeIcon?: boolean;
54-
showNodeTitles?: boolean;
55+
showNodeTitle?: boolean;
5556
onClick?: (event: { checked: boolean, value: any }) => void;
5657
}
5758

0 commit comments

Comments
 (0)