Throw when cancellation is requested

This commit is contained in:
Jason Freeman
2014-09-22 13:49:48 -07:00
parent cfee41e31c
commit 2fa24a7e7a
3 changed files with 6 additions and 2 deletions

View File

@@ -1174,6 +1174,7 @@ module ts {
export interface CancellationToken {
isCancellationRequested(): boolean;
throwIfCancellationRequested?(): void;
}
export interface CompilerHost {