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

Function makeWithFallbackConfig

packages/cli/src/internal/args.ts:721–730  ·  view source on GitHub ↗
(
  args: Args.Args<A>,
  config: Config.Config<B>
)

Source from the content-addressed store, hash-verified

719}
720
721const makeWithFallbackConfig = <A, B>(
722 args: Args.Args<A>,
723 config: Config.Config<B>
724): Args.Args<A | B> => {
725 const op = Object.create(proto)
726 op._tag = "WithFallbackConfig"
727 op.args = args
728 op.config = config
729 return op
730}
731
732const makeVariadic = <A>(
733 args: Args.Args<A>,

Callers 2

args.tsFile · 0.85
withDescriptionInternalFunction · 0.85

Calls 1

createMethod · 0.80

Tested by

no test coverage detected