@@ -153,7 +153,7 @@ export abstract class QueryResultsRendererBase {
153153 for ( const [ listItemIndex , listItem ] of listItems . entries ( ) ) {
154154 if ( listItem instanceof Task ) {
155155 this . beginTask ( ) ;
156- await this . addTask ( listItem , listItemIndex , [ ] ) ;
156+ await this . addTask ( listItem , listItemIndex ) ;
157157 }
158158 }
159159 }
@@ -183,9 +183,9 @@ export abstract class QueryResultsRendererBase {
183183 this . beginTask ( ) ;
184184
185185 if ( listItem instanceof Task ) {
186- await this . addTask ( listItem , listItemIndex , listItem . children ) ;
186+ await this . addTask ( listItem , listItemIndex ) ;
187187 } else {
188- await this . addListItem ( listItem , listItemIndex , listItem . children ) ;
188+ await this . addListItem ( listItem , listItemIndex ) ;
189189 }
190190
191191 await this . addChildren ( listItem . children ) ;
@@ -223,9 +223,9 @@ export abstract class QueryResultsRendererBase {
223223
224224 protected abstract beginTask ( ) : void ;
225225
226- protected abstract addListItem ( listItem : ListItem , listItemIndex : number , children : ListItem [ ] ) : Promise < void > ;
226+ protected abstract addListItem ( listItem : ListItem , listItemIndex : number ) : Promise < void > ;
227227
228- protected abstract addTask ( task : Task , taskIndex : number , children : ListItem [ ] ) : Promise < void > ;
228+ protected abstract addTask ( task : Task , taskIndex : number ) : Promise < void > ;
229229
230230 private async addChildren ( children : ListItem [ ] ) {
231231 if ( children . length > 0 ) {
0 commit comments