Skip to content

Commit 1bd631e

Browse files
authored
Merge pull request #32076 from stristr/master
Make close() in interface Watch<T> public
2 parents f89165d + 314f2e6 commit 1bd631e

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

src/compiler/watch.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,6 @@ namespace ts {
608608
/*@internal*/
609609
getCurrentProgram(): T;
610610
/** Closes the watch */
611-
/*@internal*/
612611
close(): void;
613612
}
614613

tests/baselines/reference/api/tsserverlibrary.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4553,6 +4553,8 @@ declare namespace ts {
45534553
interface Watch<T> {
45544554
/** Synchronize with host and get updated program */
45554555
getProgram(): T;
4556+
/** Closes the watch */
4557+
close(): void;
45564558
}
45574559
/**
45584560
* Creates the watch what generates program using the config file

tests/baselines/reference/api/typescript.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4553,6 +4553,8 @@ declare namespace ts {
45534553
interface Watch<T> {
45544554
/** Synchronize with host and get updated program */
45554555
getProgram(): T;
4556+
/** Closes the watch */
4557+
close(): void;
45564558
}
45574559
/**
45584560
* Creates the watch what generates program using the config file

0 commit comments

Comments
 (0)