mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-05 14:40:20 +00:00
test(types): fix ts narrowing regressions in followup and matrix queue tests
This commit is contained in:
@@ -64,7 +64,7 @@ const baseQueuedRun = (messageProvider = "whatsapp"): FollowupRun =>
|
||||
}) as FollowupRun;
|
||||
|
||||
function createQueuedRun(
|
||||
overrides: Partial<FollowupRun> & { run?: Partial<FollowupRun["run"]> } = {},
|
||||
overrides: Partial<Omit<FollowupRun, "run">> & { run?: Partial<FollowupRun["run"]> } = {},
|
||||
): FollowupRun {
|
||||
const base = baseQueuedRun();
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user