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

Function toImpl

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

Source from the content-addressed store, hash-verified

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

Callers 15

Errors.test.tsFile · 0.90
Command.test.tsFile · 0.90
Help.test.tsFile · 0.90
resolveFunction · 0.90
Command.tsFile · 0.90
unlistedFunction · 0.90
mapHandlerFunction · 0.90
runWithFunction · 0.90
extractFlagParamsFunction · 0.90
extractContextFlagParamsFunction · 0.90
resolveFirstValueFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected