Prefer using explicit function types instead of Function

This commit is contained in:
Matt Bierner
2019-01-03 16:21:41 -08:00
parent 967eef771b
commit 9e4daf6069
10 changed files with 15 additions and 17 deletions

View File

@@ -32,9 +32,9 @@ export class Disposable {
});
}
private _callOnDispose?: Function;
private _callOnDispose?: () => any;
constructor(callOnDispose: Function) {
constructor(callOnDispose: () => any) {
this._callOnDispose = callOnDispose;
}