Skip to content

Commit

Permalink
v1.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
philipstanislaus committed May 31, 2021
1 parent 0f90c4d commit efe07a8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions build/arrayToTree.d.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
export interface Item {
id?: string | number;
parentId?: string | number | null;
[key: string]: any;
}
export interface TreeItem {
id?: string | number;
parentId?: string | number | null;
[key: string]: Item | TreeItem[] | any;
}
export interface Config {
Expand Down
2 changes: 1 addition & 1 deletion build/arrayToTree.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "performant-array-to-tree",
"version": "1.9.0",
"version": "1.9.1",
"description": "Converts an array of items with ids and parent ids to a nested tree in a performant `O(n)` way. Runs in browsers and node.",
"keywords": [
"array to tree",
Expand Down

0 comments on commit efe07a8

Please sign in to comment.