array-treeify
Advanced tools
+1
-1
@@ -10,3 +10,3 @@ /** | ||
| */ | ||
| export type TreeInput = [string, ...Array<string | TreeNode[]>]; | ||
| export type TreeInput = [string, ...Array<string | TreeNode[]>] | string[]; | ||
| /** | ||
@@ -13,0 +13,0 @@ * Flexible input type that accepts any array. |
+4
-4
| { | ||
| "name": "array-treeify", | ||
| "version": "0.1.3", | ||
| "version": "0.1.4", | ||
| "description": "Simple text tree diagrams from arrays.", | ||
@@ -26,5 +26,5 @@ "license": "MIT", | ||
| "@biomejs/biome": "1.9.4", | ||
| "@types/node": "^22.13.14", | ||
| "tsx": "^4.19.3", | ||
| "typescript": "^5.8.2" | ||
| "@types/node": "^22.15.15", | ||
| "tsx": "^4.19.4", | ||
| "typescript": "^5.8.3" | ||
| }, | ||
@@ -31,0 +31,0 @@ "keywords": [ |
12723
0.09%