diff --git a/packages/client/ui-conversation/tests/service-orchestration.client.spec.ts b/packages/client/ui-conversation/tests/service-orchestration.client.spec.ts index 39ced8ab36..cfca122d19 100644 --- a/packages/client/ui-conversation/tests/service-orchestration.client.spec.ts +++ b/packages/client/ui-conversation/tests/service-orchestration.client.spec.ts @@ -135,7 +135,7 @@ describe('sendSession submission echo', () => { /** Bench with an observable beginSubmission on the session face. */ async function echoBench() { const b = await bench() - const retire: { onRetire?: (retirement: unknown) => void } = {} + const retire: { onRetire?: ((retirement: unknown) => void) | undefined } = {} const abandon = vi.fn() const beginSubmission = vi.fn((input: { onRetire?: (retirement: unknown) => void }) => { retire.onRetire = input.onRetire