/** * Constructs a `Layer` that passes along the specified environment as an * output. * * @tsplus static effect/core/io/Layer.Ops environment */ export function environment(): Layer { return Layer.fromEffectEnvironment(Effect.environment()) }