fix: resolve inherited strict typing violations

This commit is contained in:
Adam Weidman
2026-03-20 11:59:02 -04:00
parent 1b6c609165
commit db35ecd705
2 changed files with 3 additions and 3 deletions
@@ -32,9 +32,7 @@ describe('AgentSession', () => {
await session.abort();
expect(
session.events.some(
(e) =>
e.type === 'agent_end' &&
(e as AgentEvent<'agent_end'>).reason === 'aborted',
(e) => e.type === 'agent_end' && e.reason === 'aborted',
),
).toBe(true);
});