Skip to content

Commit 96f860d

Browse files
committed
Revert "strict function types: zip"
This reverts commit 691dab0.
1 parent 27592b1 commit 96f860d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/vs/base/common/cancellation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export interface CancellationToken {
1818
*
1919
* @event
2020
*/
21-
readonly onCancellationRequested: Event<any>;
21+
readonly onCancellationRequested: (listener: (e: any) => any, thisArgs?: any, disposables?: IDisposable[]) => IDisposable;
2222
}
2323

2424
const shortcutEvent: Event<any> = Object.freeze(function (callback, context?): IDisposable {

src/vs/monaco.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ declare namespace monaco {
6363
*
6464
* @event
6565
*/
66-
readonly onCancellationRequested: IEvent<any>;
66+
readonly onCancellationRequested: (listener: (e: any) => any, thisArgs?: any, disposables?: IDisposable[]) => IDisposable;
6767
}
6868
/**
6969
* Uniform Resource Identifier (Uri) http://tools.ietf.org/html/rfc3986.

0 commit comments

Comments
 (0)