From 653d6c22284a60a559b14a8e55a401537a0d7ccf Mon Sep 17 00:00:00 2001 From: Benjamin Chrobot Date: Tue, 12 Jul 2022 07:45:56 -0400 Subject: [PATCH] chore: fix typing --- src/sexp/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/sexp/index.ts b/src/sexp/index.ts index 0afb250..d223b73 100644 --- a/src/sexp/index.ts +++ b/src/sexp/index.ts @@ -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 {