mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 10:38:59 +01:00
Prefer using explicit function types instead of Function
This commit is contained in:
@@ -32,9 +32,9 @@ export class Disposable {
|
||||
});
|
||||
}
|
||||
|
||||
private _callOnDispose?: Function;
|
||||
private _callOnDispose?: () => any;
|
||||
|
||||
constructor(callOnDispose: Function) {
|
||||
constructor(callOnDispose: () => any) {
|
||||
this._callOnDispose = callOnDispose;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user