Merge pull request #13610 from basarat/patch-1

export the type `Log` that is used by exported functions
This commit is contained in:
Mohamed Hegazy
2017-01-20 17:27:45 -08:00
committed by GitHub

View File

@@ -1,6 +1,6 @@
/* @internal */
namespace ts.Completions {
type Log = (message: string) => void;
export type Log = (message: string) => void;
export function getCompletionsAtPosition(host: LanguageServiceHost, typeChecker: TypeChecker, log: Log, compilerOptions: CompilerOptions, sourceFile: SourceFile, position: number): CompletionInfo | undefined {
if (isInReferenceComment(sourceFile, position)) {