MCPcopy Create free account
hub / github.com/anomalyco/opencode / fromConfig

Function fromConfig

packages/opencode/test/effect/config-service.test.ts:12–13  ·  view source on GitHub ↗
(input: Record<string, unknown>)

Source from the content-addressed store, hash-verified

10}) {}
11
12const fromConfig = (input: Record<string, unknown>) =>
13 TestConfig.layer.pipe(Layer.provide(ConfigProvider.layer(ConfigProvider.fromUnknown(input))))
14
15const readConfig = TestConfig.useSync((config) => config)
16

Callers 1

Calls 1

layerMethod · 0.45

Tested by

no test coverage detected