Skip to content

Commit f6efcd5

Browse files
onCancellationRequested listener should not return anything (I think)
1 parent bdbd123 commit f6efcd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/ql-vscode/src/common/vscode/multi-cancellation-token.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export class MultiCancellationToken implements CancellationToken {
1616
return this.tokens.some((t) => t.isCancellationRequested);
1717
}
1818

19-
onCancellationRequested<T>(listener: (e: T) => any): Disposable {
19+
onCancellationRequested<T>(listener: (e: T) => void): Disposable {
2020
return new DisposableObject(
2121
...this.tokens.map((t) => t.onCancellationRequested(listener)),
2222
);

0 commit comments

Comments
 (0)