Skip to content

Commit f59d557

Browse files
committed
type unknown objects
1 parent 09501c9 commit f59d557

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/src/orchestrator.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ export function createEnvelopOrchestrator<PluginsContext extends DefaultContext>
307307
const afterCalls: SubscribeResultHook<PluginsContext>[] = [];
308308
const subscribeErrorHandlers: SubscribeErrorHook[] = [];
309309

310-
let context = args.contextValue || {};
310+
let context = (args.contextValue as {}) || {};
311311

312312
for (const onSubscribe of beforeCallbacks.subscribe) {
313313
const after = await onSubscribe({
@@ -411,7 +411,7 @@ export function createEnvelopOrchestrator<PluginsContext extends DefaultContext>
411411
let result: AsyncIterableIteratorOrValue<ExecutionResult>;
412412

413413
const afterCalls: OnExecuteDoneHook<PluginsContext>[] = [];
414-
let context = args.contextValue || {};
414+
let context = (args.contextValue as {}) || {};
415415

416416
for (const onExecute of beforeCallbacks.execute) {
417417
let stopCalled = false;

0 commit comments

Comments
 (0)