File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change 133133 {/if }
134134 {#each node .children as child (child .id )}
135135 {#if child .type === Treetop .NodeType .Bookmark }
136- <!--
137- Destructure child to work around the following false positive linter
138- error when calling filterSet.has(child.id):
139-
140- Unsafe argument of type `any` assigned to a parameter of type `string` @typescript-eslint/no-unsafe-argument
141- -->
142- {@const { id , title , url } = child }
143- {#if ! filterActive () || filterSet .has (id )}
144- <Bookmark nodeId ={id } {title } {url } />
136+ {#if ! filterActive () || filterSet .has (child .id )}
137+ <Bookmark nodeId ={child .id } title ={child .title } url ={child .url } />
145138 {/if }
146139 {:else if child .type === Treetop .NodeType .Folder }
147140 <Folder nodeId ={child .id } />
You can’t perform that action at this time.
0 commit comments