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:
parent
284d9f527c
commit
0aaedc5df4
2
src/server/protocol.d.ts
vendored
2
src/server/protocol.d.ts
vendored
|
@ -469,7 +469,7 @@ declare namespace ts.server.protocol {
|
||||||
placeOpenBraceOnNewLineForControlBlocks?: boolean;
|
placeOpenBraceOnNewLineForControlBlocks?: boolean;
|
||||||
|
|
||||||
/** Index operator */
|
/** Index operator */
|
||||||
[key: string] : string | number | boolean;
|
[key: string]: string | number | boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -55,8 +55,8 @@ namespace ts.JsTyping {
|
||||||
globalCachePath: Path,
|
globalCachePath: Path,
|
||||||
projectRootPath: Path,
|
projectRootPath: Path,
|
||||||
typingOptions: TypingOptions,
|
typingOptions: TypingOptions,
|
||||||
compilerOptions: CompilerOptions)
|
compilerOptions: CompilerOptions):
|
||||||
: { cachedTypingPaths: string[], newTypingNames: string[], filesToWatch: string[] } {
|
{ cachedTypingPaths: string[], newTypingNames: string[], filesToWatch: string[] } {
|
||||||
|
|
||||||
// A typing name to typing file path mapping
|
// A typing name to typing file path mapping
|
||||||
const inferredTypings: Map<string> = {};
|
const inferredTypings: Map<string> = {};
|
||||||
|
|
Loading…
Reference in a new issue