Skip to content

Commit d39cdc9

Browse files
author
WebFreak001
committed
Typescript fixes
1 parent ef82452 commit d39cdc9

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

src/backend/mi2/mi2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ export class MI2 extends EventEmitter implements IBackend {
503503
this.log("stderr", "addBreakPoint");
504504
return new Promise((resolve, reject) => {
505505
if (this.breakpoints.has(breakpoint))
506-
return resolve(false);
506+
return resolve([false, undefined]);
507507
let location = "";
508508
if (breakpoint.countCondition) {
509509
if (breakpoint.countCondition[0] == ">")

src/gdb.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { DebugProtocol } from 'vscode-debugprotocol';
44
import { MI2 } from "./backend/mi2/mi2";
55
import { SSHArguments, ValuesFormattingMode } from './backend/backend';
66

7-
export interface LaunchRequestArguments {
7+
export interface LaunchRequestArguments extends DebugProtocol.LaunchRequestArguments {
88
cwd: string;
99
target: string;
1010
gdbpath: string;
@@ -19,7 +19,7 @@ export interface LaunchRequestArguments {
1919
showDevDebugOutput: boolean;
2020
}
2121

22-
export interface AttachRequestArguments {
22+
export interface AttachRequestArguments extends DebugProtocol.AttachRequestArguments {
2323
cwd: string;
2424
target: string;
2525
gdbpath: string;

src/lldb.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { DebugProtocol } from 'vscode-debugprotocol';
44
import { MI2_LLDB } from "./backend/mi2/mi2lldb";
55
import { SSHArguments, ValuesFormattingMode } from './backend/backend';
66

7-
export interface LaunchRequestArguments {
7+
export interface LaunchRequestArguments extends DebugProtocol.LaunchRequestArguments {
88
cwd: string;
99
target: string;
1010
lldbmipath: string;
@@ -18,7 +18,7 @@ export interface LaunchRequestArguments {
1818
showDevDebugOutput: boolean;
1919
}
2020

21-
export interface AttachRequestArguments {
21+
export interface AttachRequestArguments extends DebugProtocol.AttachRequestArguments {
2222
cwd: string;
2323
target: string;
2424
lldbmipath: string;

src/mago.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { DebugProtocol } from 'vscode-debugprotocol';
44
import { MI2_Mago } from "./backend/mi2/mi2mago";
55
import { SSHArguments, ValuesFormattingMode } from './backend/backend';
66

7-
export interface LaunchRequestArguments {
7+
export interface LaunchRequestArguments extends DebugProtocol.LaunchRequestArguments {
88
cwd: string;
99
target: string;
1010
magomipath: string;
@@ -17,7 +17,7 @@ export interface LaunchRequestArguments {
1717
showDevDebugOutput: boolean;
1818
}
1919

20-
export interface AttachRequestArguments {
20+
export interface AttachRequestArguments extends DebugProtocol.AttachRequestArguments {
2121
cwd: string;
2222
target: string;
2323
magomipath: string;

0 commit comments

Comments
 (0)