MCPcopy Create free account
hub / github.com/effect-app/libs / toImpl

Function toImpl

repos/effect/packages/effect/src/unstable/cli/internal/command.ts:67–69  ·  view source on GitHub ↗
(
  self: Command<Name, Input, ContextInput, E, R>
)

Source from the content-addressed store, hash-verified

65 * For use by internal modules that need access to config, parse, handle, etc.
66 */
67export const toImpl = <Name extends string, Input, E, R, ContextInput = {}>(
68 self: Command<Name, Input, ContextInput, E, R>
69): CommandInternal<Name, Input, E, R, ContextInput> => self as CommandInternal<Name, Input, E, R, ContextInput>
70
71/* ========================================================================== */
72/* Proto */

Callers 15

Errors.test.tsFile · 0.90
Command.test.tsFile · 0.90
Command.tsFile · 0.90
withHiddenFunction · 0.90
mapHandlerFunction · 0.90
runWithFunction · 0.90
parseArgsFunction · 0.90
extractFlagParamsFunction · 0.90
extractContextFlagParamsFunction · 0.90
resolveFirstValueFunction · 0.90
visitFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…