Skip to content

Commit 108d8cf

Browse files
authored
export the type Log that is used by exported functions
closes #13559
1 parent 82d8bef commit 108d8cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/completions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* @internal */
22
namespace ts.Completions {
3-
type Log = (message: string) => void;
3+
export type Log = (message: string) => void;
44

55
export function getCompletionsAtPosition(host: LanguageServiceHost, typeChecker: TypeChecker, log: Log, compilerOptions: CompilerOptions, sourceFile: SourceFile, position: number): CompletionInfo | undefined {
66
if (isInReferenceComment(sourceFile, position)) {

0 commit comments

Comments
 (0)