Skip to content

Commit fe34580

Browse files
committed
fix typescript issue
Signed-off-by: Marcel Klehr <[email protected]>
1 parent ef38fe6 commit fe34580

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/Tree.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ export class Folder<L extends TItemLocation> {
176176
this.parentId = parentId
177177
this.title = title
178178
this.children = children || []
179-
this.hashValue = {...hashValue} || {}
179+
this.hashValue = {...hashValue}
180180
this.loaded = loaded !== false
181181
this.isRoot = isRoot
182182
// eslint-disable-next-line @typescript-eslint/ban-ts-comment

0 commit comments

Comments
 (0)