@voidhash/mimic 0.0.1-alpha.3 → 0.0.1-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +7 -7
- package/dist/index.d.cts +1 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/primitives/TreeNode.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voidhash/mimic",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"typescript": "5.8.3",
|
|
20
20
|
"vite-tsconfig-paths": "^5.1.4",
|
|
21
21
|
"vitest": "^3.2.4",
|
|
22
|
-
"@voidhash/tsconfig": "0.0.1-alpha.
|
|
22
|
+
"@voidhash/tsconfig": "0.0.1-alpha.4"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"effect": "^3.19.12"
|
|
@@ -83,7 +83,7 @@ export class TreeNodePrimitive<
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
/** Get resolved children (resolves lazy thunk if needed) */
|
|
86
|
-
get children():
|
|
86
|
+
get children(): readonly AnyTreeNodePrimitive[] {
|
|
87
87
|
if (this._resolvedChildren === undefined) {
|
|
88
88
|
if (typeof this._children === "function") {
|
|
89
89
|
this._resolvedChildren = (this._children as () => readonly AnyTreeNodePrimitive[])();
|
|
@@ -91,7 +91,7 @@ export class TreeNodePrimitive<
|
|
|
91
91
|
this._resolvedChildren = this._children as readonly AnyTreeNodePrimitive[];
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
|
-
return this._resolvedChildren
|
|
94
|
+
return this._resolvedChildren;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
/** Check if a child type is allowed */
|