MCPcopy Create free account
hub / github.com/Effect-TS/effect / Mixin

Function Mixin

packages/effect/src/Pipeable.ts:669–675  ·  view source on GitHub ↗
(
  klass: TBase
)

Source from the content-addressed store, hash-verified

667 * @since 4.0.0
668 */
669export const Mixin = <TBase extends new(...args: ReadonlyArray<any>) => any>(
670 klass: TBase
671): TBase & PipeableConstructor => (class extends klass {
672 pipe() {
673 return pipeArguments(this, arguments)
674 }
675})

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected