"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
function createDisposableRef(object, disposable) {
  return {
    object,
    dispose: () => disposable === null || disposable === void 0 ? void 0 : disposable.dispose()
  };
}
exports.createDisposableRef = createDisposableRef;
