From 0e939b86f92ec96318144cddedb845c317ea471d Mon Sep 17 00:00:00 2001 From: Eric Jizba Date: Fri, 10 Nov 2023 14:14:38 -0800 Subject: [PATCH] Fix bug when using shared output object --- src/app.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app.ts b/src/app.ts index ea1392a..4473f1a 100644 --- a/src/app.ts +++ b/src/app.ts @@ -164,8 +164,7 @@ export function generic(name: string, options: GenericFunctionOptions): void { } if (options.return) { - options.return.name = returnBindingKey; - bindings[options.return.name] = { + bindings[returnBindingKey] = { ...options.return, direction: 'out', };