Skip to content

Commit 004e120

Browse files
committed
1.fix implicitly type error
1 parent f204573 commit 004e120

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/backend/mi2/mi2.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class LogMessage {
3333
protected logReplaceTest = /{([^}]*)}/g;
3434
public logMsgBrkList: Breakpoint[] = [];
3535

36-
logMsgOutput(record){
36+
logMsgOutput(record:any){
3737
if ((record.type === 'console')) {
3838
if(record.content.startsWith("$")){
3939
const content = record.content;
@@ -54,7 +54,7 @@ class LogMessage {
5454
}
5555
}
5656

57-
logMsgProcess(parsed){
57+
logMsgProcess(parsed:any){
5858
this.logMsgBrkList.forEach((brk)=>{
5959
if(parsed.outOfBandRecord[0].output[0][1] == "breakpoint-hit" && parsed.outOfBandRecord[0].output[2][1] == brk.id){
6060
this.logMsgVar = brk?.logMessage;
@@ -626,7 +626,7 @@ export class MI2 extends EventEmitter implements IBackend {
626626
return this.sendCommand("break-condition " + bkptNum + " " + condition);
627627
}
628628

629-
setLogPoint(bkptNum, command): Thenable<any> {
629+
setLogPoint(bkptNum:number, command:string): Thenable<any> {
630630
const regex = /{([a-z0-9A-Z-_\.\>\&\*\[\]]*)}/gm;
631631
let m:RegExpExecArray;
632632
let commands:string = "";

0 commit comments

Comments
 (0)