Tests
Some checks failed
Lint / lint (push) Failing after 11s

This commit is contained in:
Julien Valverdé
2025-02-21 15:44:28 +01:00
parent 837dcbb1cb
commit e1349e5e03

View File

@@ -4,7 +4,7 @@ import * as ReffuseHelpers from "./ReffuseHelpers.js"
import type { Merge, StaticType } from "./types.js" import type { Merge, StaticType } from "./types.js"
class Reffuse extends ReffuseHelpers.ReffuseHelpers<void> {} class Reffuse extends ReffuseHelpers.ReffuseHelpers<never> {}
class MyService extends Effect.Service<MyService>()("MyService", { class MyService extends Effect.Service<MyService>()("MyService", {
succeed: {} succeed: {}
@@ -39,7 +39,7 @@ export const withContexts = <R2 extends Array<unknown>>(
{ {
new(): Merge< new(): Merge<
InstanceType<BaseClass>, InstanceType<BaseClass>,
{ readonly contexts: readonly ReffuseContext.ReffuseContext<R1 | R2[number]>[] } ReffuseHelpers.ReffuseHelpers<R1 | R2[number]>
> >
} & } &
StaticType<BaseClass> StaticType<BaseClass>