Skip to content

Commit 35bb3bb

Browse files
seefeldbellyxir
andauthored
fix(runner): simplify types a little bit (#2021)
* fix(runner): simplify types a little bit * ok, apparently deno likes new lines and deno fmt doesn't * fixing type for CI --------- Co-authored-by: Ellyse Cedeno <ellyse7777@gmail.com>
1 parent 7999b46 commit 35bb3bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/runner/src/builder/recipe.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ export function recipe<T, R>(
118118
// values.
119119
const frame = pushFrame();
120120

121-
const inputs = opaqueRef<Required<T>>(
121+
const inputs = opaqueRef(
122122
undefined,
123123
typeof argumentSchema === "string"
124124
? undefined
@@ -145,7 +145,7 @@ export function recipeFromFrame<T, R>(
145145
resultSchema: JSONSchema | undefined,
146146
fn: (input: OpaqueRef<Required<T>>) => Opaque<R>,
147147
): RecipeFactory<T, R> {
148-
const inputs = opaqueRef<Required<T>>(
148+
const inputs = opaqueRef(
149149
undefined,
150150
typeof argumentSchema === "string"
151151
? undefined

0 commit comments

Comments
 (0)