Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1bd631e

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

3 files changed

+4-1Lines changed: 4 additions & 1 deletion

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/compiler/watch.ts‎

Copy file name to clipboardExpand all lines: src/compiler/watch.ts
-1Lines 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

Collapse file

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

Copy file name to clipboardExpand all lines: tests/baselines/reference/api/tsserverlibrary.d.ts
+2Lines 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
Collapse file

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

Copy file name to clipboardExpand all lines: tests/baselines/reference/api/typescript.d.ts
+2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.