mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
export the type Log that is used by exported functions
closes https://github.com/Microsoft/TypeScript/issues/13559
This commit is contained in:
1 parent
82d8befe06
commit
108d8cf584
1 file changed
+1
-1
@@ -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)) {
|
||||
|
||||
Reference in new issue
Block a user