@@ -63,7 +63,7 @@ export class WebKitDebugAdapter implements DebugProtocol.IDebugAdapter {
6363 private clearTargetContext ( ) : void {
6464 this . _scriptsById = new Map < WebKitProtocol . Debugger . ScriptId , WebKitProtocol . Debugger . Script > ( ) ;
6565 this . _committedBreakpointsByUrl = new Map < string , WebKitProtocol . Debugger . BreakpointId [ ] > ( ) ;
66- this . _setBreakpointsRequestQ = Promise . resolve < void > ( ) ;
66+ this . _setBreakpointsRequestQ = Promise . resolve ( ) ;
6767 this . _lastOutputEvent = null ;
6868 this . fireEvent ( { seq : 0 , type : 'event' , event : 'clearTargetContext' } ) ;
6969 }
@@ -368,7 +368,7 @@ export class WebKitDebugAdapter implements DebugProtocol.IDebugAdapter {
368368 this . _webKitConnection = null ;
369369 }
370370
371- return Promise . resolve < void > ( ) ;
371+ return Promise . resolve ( ) ;
372372 }
373373
374374 public setBreakpoints ( args : DebugProtocol . ISetBreakpointsArgs ) : Promise < DebugProtocol . ISetBreakpointsResponseBody > {
@@ -403,7 +403,7 @@ export class WebKitDebugAdapter implements DebugProtocol.IDebugAdapter {
403403
404404 private _clearAllBreakpoints ( url : string ) : Promise < void > {
405405 if ( ! this . _committedBreakpointsByUrl . has ( url ) ) {
406- return Promise . resolve < void > ( ) ;
406+ return Promise . resolve ( ) ;
407407 }
408408
409409 // Remove breakpoints one at a time. Seems like it would be ok to send the removes all at once,
@@ -412,7 +412,7 @@ export class WebKitDebugAdapter implements DebugProtocol.IDebugAdapter {
412412 // does not break there.
413413 return this . _committedBreakpointsByUrl . get ( url ) . reduce ( ( p , bpId ) => {
414414 return p . then ( ( ) => this . _webKitConnection . debugger_removeBreakpoint ( bpId ) ) . then ( ( ) => { } ) ;
415- } , Promise . resolve < void > ( ) ) . then ( ( ) => {
415+ } , Promise . resolve ( ) ) . then ( ( ) => {
416416 this . _committedBreakpointsByUrl . set ( url , null ) ;
417417 } ) ;
418418 }
@@ -621,7 +621,7 @@ export class WebKitDebugAdapter implements DebugProtocol.IDebugAdapter {
621621 return { variables } ;
622622 } ) ;
623623 } else {
624- return Promise . resolve ( ) ;
624+ return Promise . resolve ( null ) ;
625625 }
626626 }
627627
0 commit comments