Make close() in interface Watch<T> public

Closes #31526
This commit is contained in:
Sasha Joseph
2019-06-24 17:05:19 -07:00
parent a150d55592
commit 314f2e68b7
3 changed files with 4 additions and 1 deletions

View File

@@ -603,7 +603,6 @@ namespace ts {
/*@internal*/
getCurrentProgram(): T;
/** Closes the watch */
/*@internal*/
close(): void;
}

View File

@@ -4548,6 +4548,8 @@ declare namespace ts {
interface Watch<T> {
/** Synchronize with host and get updated program */
getProgram(): T;
/** Closes the watch */
close(): void;
}
/**
* Creates the watch what generates program using the config file

View File

@@ -4548,6 +4548,8 @@ declare namespace ts {
interface Watch<T> {
/** Synchronize with host and get updated program */
getProgram(): T;
/** Closes the watch */
close(): void;
}
/**
* Creates the watch what generates program using the config file