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"); this.log("stderr", "addBreakPoint");
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
if (this.breakpoints.has(breakpoint)) if (this.breakpoints.has(breakpoint))
return resolve(false); return resolve([false, undefined]);
let location = ""; let location = "";
if (breakpoint.countCondition) { if (breakpoint.countCondition) {
if (breakpoint.countCondition[0] == ">") if (breakpoint.countCondition[0] == ">")

View file

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

View file

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

View file

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