Argument of type '<R, A>(self: Effect<R, { _tag: string; }, A>) => Effect<R, { _tag: string; } | NoSelectedMembershipException, A>' is not assignable to parameter of type '(b: Option<{ workspaceId: string & BRAND<"ID">; role: "member" | "admin" | "owner"; }>) => Effect<unknown, { _tag: string; } | NoSelectedMembershipException, unknown>'.
Types of parameters 'self' and 'b' are incompatible.
Type 'Option<{ workspaceId: string & BRAND<"ID">; role: "member" | "admin" | "owner"; }>' is not assignable to type 'Effect<unknown, { _tag: string; }, unknown>'.
Type 'None<{ workspaceId: string & BRAND<"ID">; role: "member" | "admin" | "owner"; }>' is missing the following properties from type 'Effect<unknown, { _tag: string; }, unknown>': [EffectTypeId], [symbol], [symbol]
Argument of type '<R, A>(self: Effect<R, { _tag: string; }, A>) => Effect<R, { _tag: string; } | NoSelectedMembershipException, A>' is not assignable to parameter of type '(b: Option<{ workspaceId: string & BRAND<"ID">; role: "member" | "admin" | "owner"; }>) => Effect<unknown, { _tag: string; } | NoSelectedMembershipException, unknown>'.
Types of parameters 'self' and 'b' are incompatible.
Type 'Option<{ workspaceId: string & BRAND<"ID">; role: "member" | "admin" | "owner"; }>' is not assignable to type 'Effect<unknown, { _tag: string; }, unknown>'.
Type 'None<{ workspaceId: string & BRAND<"ID">; role: "member" | "admin" | "owner"; }>' is missing the following properties from type 'Effect<unknown, { _tag: string; }, unknown>': [EffectTypeId], [symbol], [symbol]