Skip to content

Commit 281242f

Browse files
Use unknown in Disposable
1 parent c906e76 commit 281242f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/ql-vscode/src/common/disposable-object.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Avoid explicitly referencing Disposable type in vscode.
22
// This file cannot have dependencies on the vscode API.
33
export interface Disposable {
4-
dispose(): any;
4+
dispose(): unknown;
55
}
66

77
export type DisposeHandler = (disposable: Disposable) => void;

0 commit comments

Comments
 (0)