mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 13:29:44 +00:00
VoidFunction isn't as useful
This commit is contained in:
parent
3e272359d7
commit
e8cf177b98
|
@ -345,8 +345,8 @@ export class RefCountedDisposable {
|
|||
*/
|
||||
export class SafeDisposable implements IDisposable {
|
||||
|
||||
dispose: VoidFunction = () => { };
|
||||
unset: VoidFunction = () => { };
|
||||
dispose: () => void = () => { };
|
||||
unset: () => void = () => { };
|
||||
isset: () => boolean = () => false;
|
||||
|
||||
constructor() {
|
||||
|
|
Loading…
Reference in a new issue