Fixing lint issues caught by Travis CI build

(Rules appear to be more strict - this was not caught on a local lint run)
This commit is contained in:
Jason Ramsay 2016-02-21 21:57:37 -08:00
parent 284d9f527c
commit 0aaedc5df4
2 changed files with 3 additions and 3 deletions

View file

@ -469,7 +469,7 @@ declare namespace ts.server.protocol {
placeOpenBraceOnNewLineForControlBlocks?: boolean;
/** Index operator */
[key: string] : string | number | boolean;
[key: string]: string | number | boolean;
}
/**

View file

@ -55,8 +55,8 @@ namespace ts.JsTyping {
globalCachePath: Path,
projectRootPath: Path,
typingOptions: TypingOptions,
compilerOptions: CompilerOptions)
: { cachedTypingPaths: string[], newTypingNames: string[], filesToWatch: string[] } {
compilerOptions: CompilerOptions):
{ cachedTypingPaths: string[], newTypingNames: string[], filesToWatch: string[] } {
// A typing name to typing file path mapping
const inferredTypings: Map<string> = {};