Typescript fixes

This commit is contained in:
WebFreak001 2017-07-23 19:57:12 +02:00
commit d39cdc9633
4 changed files with 7 additions and 7 deletions

View file

@ -503,7 +503,7 @@ export class MI2 extends EventEmitter implements IBackend {
this.log("stderr", "addBreakPoint");
return new Promise((resolve, reject) => {
if (this.breakpoints.has(breakpoint))
return resolve(false);
return resolve([false, undefined]);
let location = "";
if (breakpoint.countCondition) {
if (breakpoint.countCondition[0] == ">")

View file

@ -4,7 +4,7 @@ import { DebugProtocol } from 'vscode-debugprotocol';
import { MI2 } from "./backend/mi2/mi2";
import { SSHArguments, ValuesFormattingMode } from './backend/backend';
export interface LaunchRequestArguments {
export interface LaunchRequestArguments extends DebugProtocol.LaunchRequestArguments {
cwd: string;
target: string;
gdbpath: string;
@ -19,7 +19,7 @@ export interface LaunchRequestArguments {
showDevDebugOutput: boolean;
}
export interface AttachRequestArguments {
export interface AttachRequestArguments extends DebugProtocol.AttachRequestArguments {
cwd: string;
target: string;
gdbpath: string;

View file

@ -4,7 +4,7 @@ import { DebugProtocol } from 'vscode-debugprotocol';
import { MI2_LLDB } from "./backend/mi2/mi2lldb";
import { SSHArguments, ValuesFormattingMode } from './backend/backend';
export interface LaunchRequestArguments {
export interface LaunchRequestArguments extends DebugProtocol.LaunchRequestArguments {
cwd: string;
target: string;
lldbmipath: string;
@ -18,7 +18,7 @@ export interface LaunchRequestArguments {
showDevDebugOutput: boolean;
}
export interface AttachRequestArguments {
export interface AttachRequestArguments extends DebugProtocol.AttachRequestArguments {
cwd: string;
target: string;
lldbmipath: string;

View file

@ -4,7 +4,7 @@ import { DebugProtocol } from 'vscode-debugprotocol';
import { MI2_Mago } from "./backend/mi2/mi2mago";
import { SSHArguments, ValuesFormattingMode } from './backend/backend';
export interface LaunchRequestArguments {
export interface LaunchRequestArguments extends DebugProtocol.LaunchRequestArguments {
cwd: string;
target: string;
magomipath: string;
@ -17,7 +17,7 @@ export interface LaunchRequestArguments {
showDevDebugOutput: boolean;
}
export interface AttachRequestArguments {
export interface AttachRequestArguments extends DebugProtocol.AttachRequestArguments {
cwd: string;
target: string;
magomipath: string;