Skip to content

Commit 4bbf36f

Browse files
authored
Declare type of the utility function (#398)
1 parent 3379ef3 commit 4bbf36f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,5 @@ declare module "react-checkbox-tree" {
6868
}
6969

7070
export default class CheckboxTree extends React.Component<CheckboxProps> {}
71+
function expandNodesToLevel (nodes: Array<Node>, targetLevel: number): Array<string>
7172
}

0 commit comments

Comments
 (0)