mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-29 16:29:19 -05:00
Throw when cancellation is requested
This commit is contained in:
@@ -1174,6 +1174,7 @@ module ts {
|
||||
|
||||
export interface CancellationToken {
|
||||
isCancellationRequested(): boolean;
|
||||
throwIfCancellationRequested?(): void;
|
||||
}
|
||||
|
||||
export interface CompilerHost {
|
||||
|
||||
Reference in New Issue
Block a user