Merge pull request #32076 from stristr/master

Make close() in interface Watch<T> public
This commit is contained in:
Sheetal Nandi
2019-07-01 09:46:09 -07:00
committed by GitHub
3 changed files with 4 additions and 1 deletions

View File

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

View File

@@ -4553,6 +4553,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

@@ -4553,6 +4553,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