File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -182,8 +182,8 @@ export function buildApiHook<
182182export function buildApiHook (
183183 api : Record < string , { kind : string ; method : string } > ,
184184 ipc : {
185- request : ( def : { method : string } , params : unknown ) => Promise < unknown > ;
186- command : ( def : { method : string } , params : unknown ) => void ;
185+ request : ( def : { method : string } , params ? : unknown ) => Promise < unknown > ;
186+ command : ( def : { method : string } , params ? : unknown ) => void ;
187187 onNotification : (
188188 def : { method : string } ,
189189 cb : ( data : unknown ) => void ,
Original file line number Diff line number Diff line change @@ -468,7 +468,7 @@ export class TasksPanelProvider
468468 try {
469469 const tasks = await this . fetchTasks ( ) ;
470470 if ( tasks !== null ) {
471- this . notify ( TasksApi . tasksUpdated , [ ... tasks ] ) ;
471+ this . notify ( TasksApi . tasksUpdated , tasks ) ;
472472 }
473473 } catch ( err ) {
474474 this . logger . warn ( "Failed to refresh tasks after action" , err ) ;
You can’t perform that action at this time.
0 commit comments