import * as tsplus_module_1 from "@effect/core/io/Layer/operations/environment";
import * as tsplus_module_2 from "@effect/core/io/Layer/operations/and";
/**
 * Returns a new layer that produces the outputs of this layer but also
 * passes through the inputs.
 *
 * @tsplus getter ets/Layer passthrough
 */

export function passthrough(self) {
  return tsplus_module_2.and_(tsplus_module_1.environment(), () => self);
}
//# sourceMappingURL=passthrough.mjs.map