Skip to content

Commit bbba077

Browse files
authored
fix auto-completion for ExecutionPlan.make (#4930)
1 parent 48f7887 commit bbba077

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/effect/src/ExecutionPlan.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,9 @@ export type TypesBase = {
167167
* @category Constructors
168168
* @experimental
169169
*/
170-
export const make = <const Steps extends NonEmptyReadonlyArray<make.Step>>(...steps: Steps): ExecutionPlan<{
170+
export const make = <const Steps extends NonEmptyReadonlyArray<make.Step>>(
171+
...steps: Steps & { [K in keyof Steps]: make.Step }
172+
): ExecutionPlan<{
171173
provides: make.StepProvides<Steps[number]>
172174
input: make.StepInput<Steps>
173175
error: make.StepError<Steps[number]>

0 commit comments

Comments
 (0)