Type alias DisposableObject

DisposableObject: Disposable | {
    close(): void;
} | {
    destroy(): void;
} | {
    unsubscribe(): void;
}