Skip to content

Commit efe07a8

Browse files
v1.9.1
1 parent 0f90c4d commit efe07a8

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

build/arrayToTree.d.ts

-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
export interface Item {
2-
id?: string | number;
3-
parentId?: string | number | null;
42
[key: string]: any;
53
}
64
export interface TreeItem {
7-
id?: string | number;
8-
parentId?: string | number | null;
95
[key: string]: Item | TreeItem[] | any;
106
}
117
export interface Config {

build/arrayToTree.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "performant-array-to-tree",
3-
"version": "1.9.0",
3+
"version": "1.9.1",
44
"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.",
55
"keywords": [
66
"array to tree",

0 commit comments

Comments
 (0)