Skip to content

Commit 73bb07e

Browse files
committed
update TS types
Signed-off-by: Louis Mandel <[email protected]>
1 parent f2eb4aa commit 73bb07e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

pdl-live-react/src/pdl_ast_utils.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,13 @@ export function map_block_children(
166166
? f_expr(block.maxIterations)
167167
: undefined
168168
const repeat = f_block(block.repeat)
169-
return { ...block, for: for_, repeat, until, maxIterations: max_iterations }
169+
return {
170+
...block,
171+
for: for_,
172+
repeat,
173+
until,
174+
maxIterations: max_iterations,
175+
}
170176
})
171177
.with({ kind: "error" }, (block) => {
172178
const doc = f_block(block.program)

0 commit comments

Comments
 (0)