We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97d419e commit c25ed32Copy full SHA for c25ed32
pdl-live-react/src/pdl_ast_utils.ts
@@ -1,6 +1,6 @@
1
import { match, P } from "ts-pattern"
2
3
-import { Backend, PdlBlock, Processor } from "./pdl_ast"
+import { Backend, PdlBlock } from "./pdl_ast"
4
import { ExpressionT, isArgs } from "./helpers"
5
6
export function map_block_children(
@@ -74,8 +74,7 @@ export function map_block_children(
74
: undefined
75
// @ts-expect-error: f_expr does not preserve the type of the expression
76
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
+ const processor = block.processor
79
? f_expr(block.processor)
80
81
return {
0 commit comments