// Stub module for rxjs
// This module is not actually used by the CLI but is imported by shared dependencies

const stub = function(...args) {
  return new Proxy({}, {
    get: (target, prop) => {
      if (prop === 'then' || prop === 'catch') {
        return undefined;
      }
      return stub;
    },
    apply: () => stub,
  });
};

// Provide both CommonJS and ES module exports
stub.default = stub;
module.exports = stub;
module.exports.default = stub;