Skip to content

Commit

Permalink
fix: Typing error for children (#232)
Browse files Browse the repository at this point in the history
## What does it do?

An issue in #223 for children. An array of Node[] instead of TreeNode[] was specified.

## Type of change

- [x] Bug fix
  • Loading branch information
ellinge authored and mrchief committed Apr 2, 2019
1 parent 528b38f commit 05be38c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/react-dropdown-tree-select.d.ts
Expand Up @@ -119,7 +119,7 @@ declare module "react-dropdown-tree-select" {

export interface TreeNodeProps extends TreeNode {
/** Array of child objects */
children?: Node[];
children?: TreeNode[];
}

export interface NodeAction {
Expand Down

0 comments on commit 05be38c

Please sign in to comment.