Skip to content

Commit 1e9b653

Browse files
author
Paul van Brenk
committed
Fix linting issues
1 parent 75e1b80 commit 1e9b653

4 files changed

Lines changed: 6 additions & 5 deletions

File tree

src/harness/fourslash.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2353,7 +2353,7 @@ namespace FourSlash {
23532353
}
23542354
}
23552355

2356-
public verifyCodeFixAvailable(negative: boolean, errorCode?:number ) {
2356+
public verifyCodeFixAvailable(negative: boolean, errorCode?: number) {
23572357
const fixes = this.getCodeFixes(errorCode);
23582358

23592359
if (negative && fixes && fixes.length > 0) {

src/server/protocol.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ declare namespace ts.server.protocol {
247247
/**
248248
* Errorcodes we want to get the fixes for.
249249
*/
250-
errorCodes?: number[]
250+
errorCodes?: number[];
251251
}
252252

253253
/**
@@ -1586,7 +1586,7 @@ declare namespace ts.server.protocol {
15861586
/**
15871587
* Changes to apply to each file as part of the code action.
15881588
*/
1589-
changes: FileTextChanges[]
1589+
changes: FileTextChanges[];
15901590
}
15911591

15921592
export interface FileTextChanges {

src/server/session.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1214,7 +1214,8 @@ namespace ts.server {
12141214
}
12151215
if (simplifiedResult) {
12161216
return codeActions.map(mapCodeAction);
1217-
} else {
1217+
}
1218+
else {
12181219
return codeActions;
12191220
}
12201221

src/services/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ namespace ts {
297297
fileName: string;
298298
textChanges: TextChange[];
299299
}
300-
300+
301301
export interface CodeAction {
302302
/** Description of the code action to display in the UI of the editor */
303303
description: string;

0 commit comments

Comments
 (0)