Fix linting issues

This commit is contained in:
Paul van Brenk
2016-10-06 13:59:54 -07:00
parent 75e1b80ad5
commit 1e9b6536cf
4 changed files with 6 additions and 5 deletions

View File

@@ -2353,7 +2353,7 @@ namespace FourSlash {
}
}
public verifyCodeFixAvailable(negative: boolean, errorCode?:number ) {
public verifyCodeFixAvailable(negative: boolean, errorCode?: number) {
const fixes = this.getCodeFixes(errorCode);
if (negative && fixes && fixes.length > 0) {

View File

@@ -247,7 +247,7 @@ declare namespace ts.server.protocol {
/**
* Errorcodes we want to get the fixes for.
*/
errorCodes?: number[]
errorCodes?: number[];
}
/**
@@ -1586,7 +1586,7 @@ declare namespace ts.server.protocol {
/**
* Changes to apply to each file as part of the code action.
*/
changes: FileTextChanges[]
changes: FileTextChanges[];
}
export interface FileTextChanges {

View File

@@ -1214,7 +1214,8 @@ namespace ts.server {
}
if (simplifiedResult) {
return codeActions.map(mapCodeAction);
} else {
}
else {
return codeActions;
}

View File

@@ -297,7 +297,7 @@ namespace ts {
fileName: string;
textChanges: TextChange[];
}
export interface CodeAction {
/** Description of the code action to display in the UI of the editor */
description: string;