Skip to content

Commit

Permalink
chore: fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
bchrobot committed Jul 14, 2022
1 parent 42e3edf commit 653d6c2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/sexp/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ const compile = (sexp: SExpr): CompiledExpression =>

const returnTypes =
operation.dynamicReturns !== undefined
? operation.dynamicReturns(compiledOperands.map(i => i.types))
? operation.dynamicReturns(
compiledOperands.map((i: any) => i.types),
)
: operation.returns;

return {
Expand Down

0 comments on commit 653d6c2

Please sign in to comment.