Skip to content

Commit 0aaedc5

Browse files
committed
Fixing lint issues caught by Travis CI build
(Rules appear to be more strict - this was not caught on a local lint run)
1 parent 284d9f5 commit 0aaedc5

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/server/protocol.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ declare namespace ts.server.protocol {
469469
placeOpenBraceOnNewLineForControlBlocks?: boolean;
470470

471471
/** Index operator */
472-
[key: string] : string | number | boolean;
472+
[key: string]: string | number | boolean;
473473
}
474474

475475
/**

src/services/jsTyping.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ namespace ts.JsTyping {
5555
globalCachePath: Path,
5656
projectRootPath: Path,
5757
typingOptions: TypingOptions,
58-
compilerOptions: CompilerOptions)
59-
: { cachedTypingPaths: string[], newTypingNames: string[], filesToWatch: string[] } {
58+
compilerOptions: CompilerOptions):
59+
{ cachedTypingPaths: string[], newTypingNames: string[], filesToWatch: string[] } {
6060

6161
// A typing name to typing file path mapping
6262
const inferredTypings: Map<string> = {};

0 commit comments

Comments
 (0)