polyfillDispose

export declare function polyfillDispose(): void;
export declare function polyfillDispose(): void;
Polyfill for Symbol.dispose and Symbol.asyncDispose which is used as a part of https://github.com/tc39/proposal-explicit-resource-management. Node versions below 18.x don't have these symbols by default, so we need to polyfill them.