Skip to content

Commit c25ed32

Browse files
committed
Update viewer
Signed-off-by: Louis Mandel <[email protected]>
1 parent 97d419e commit c25ed32

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pdl-live-react/src/pdl_ast_utils.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { match, P } from "ts-pattern"
22

3-
import { Backend, PdlBlock, Processor } from "./pdl_ast"
3+
import { Backend, PdlBlock } from "./pdl_ast"
44
import { ExpressionT, isArgs } from "./helpers"
55

66
export function map_block_children(
@@ -74,8 +74,7 @@ export function map_block_children(
7474
: undefined
7575
// @ts-expect-error: f_expr does not preserve the type of the expression
7676
const backend: Backend = f_expr(block.backend)
77-
// @ts-expect-error: f_expr does not preserve the type of the expression
78-
const processor: Processor = block.processor
77+
const processor = block.processor
7978
? f_expr(block.processor)
8079
: undefined
8180
return {

0 commit comments

Comments
 (0)