refactor(effect): upgrade opencode to beta.46 context APIs (#21977)
This commit is contained in:
parent
af8aff3788
commit
9581bf0670
75 changed files with 195 additions and 209 deletions
|
|
@ -23,7 +23,7 @@ export namespace Foo {
|
|||
readonly get: (id: FooID) => Effect.Effect<FooInfo, FooError>
|
||||
}
|
||||
|
||||
export class Service extends ServiceMap.Service<Service, Interface>()("@opencode/Foo") {}
|
||||
export class Service extends Context.Service<Service, Interface>()("@opencode/Foo") {}
|
||||
|
||||
export const layer = Layer.effect(
|
||||
Service,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue