VoidFunction isn't as useful

This commit is contained in:
Johannes Rieken 2022-02-11 15:35:41 +01:00
parent 3e272359d7
commit e8cf177b98
No known key found for this signature in database
GPG key ID: 96634B5AF12F8798

View file

@ -345,8 +345,8 @@ export class RefCountedDisposable {
*/
export class SafeDisposable implements IDisposable {
dispose: VoidFunction = () => { };
unset: VoidFunction = () => { };
dispose: () => void = () => { };
unset: () => void = () => { };
isset: () => boolean = () => false;
constructor() {