Skip to content

Commit aa74313

Browse files
committed
fix type
1 parent 38ee811 commit aa74313

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/core/execution/src/engine.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,9 +287,9 @@ export const createExecutionEngine = (config: ExecutionEngineConfig): ExecutionE
287287
let nextId = 0;
288288

289289
return {
290-
execute: async (code, options?) => {
290+
execute: async (code, options) => {
291291
const invoker = makeFullInvoker(executor, {
292-
onElicitation: options?.onElicitation,
292+
onElicitation: options.onElicitation,
293293
});
294294
return runEffect(codeExecutor.execute(code, invoker));
295295
},

0 commit comments

Comments
 (0)