From fb473f353db2d7545b909ef4483154c7c3a25863 Mon Sep 17 00:00:00 2001 From: Tom Boucher Date: Mon, 18 May 2026 23:04:52 -0400 Subject: [PATCH] fix(sdk): add index signature to UatItem so callers accepting Record[] compile (#3184) The 16 TDD cycles passed vitest but tsc --noEmit flagged TS2322: UatItem lacked a string index signature, so the consumer at phase-uat-passed.ts:249 (returning Record[]) failed to typecheck. Index signature added; behaviour unchanged. Co-Authored-By: Claude Opus 4.7 (1M context) --- sdk/src/query/phase-uat-passed.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/sdk/src/query/phase-uat-passed.ts b/sdk/src/query/phase-uat-passed.ts index 54825f624..4e622fa70 100644 --- a/sdk/src/query/phase-uat-passed.ts +++ b/sdk/src/query/phase-uat-passed.ts @@ -51,6 +51,7 @@ const UAT_ITEM_PATTERN = /###\s*(\d+)\.\s*([^\n]+)\n(?:\*\*)?expected:(?:\*\*)?\s*([^\n]+)\n(?:\*\*)?result:(?:\*\*)?\s*(\w+)/g; interface UatItem { + [key: string]: unknown; test: number; name: string; expected: string;