-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: added types to TreeNode & TreeView (#17038)
* chore: added types to TreeNode & TreeView * chore: export type for TreeView component * chore: added JSDoc comments to rest of types * chore: ensure proper types for sub-component pattern * chore: added instanceof checks and stronger typing inside component * test: added test for dot notation * refactor: broadened type for renderIcon on TreeNode * chore: removed unused ts-ignore, added comment for clarity
- Loading branch information
Showing
4 changed files
with
249 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.