From 5c47c269d1a587654728e98f299788a376a587ca Mon Sep 17 00:00:00 2001 From: garrytan Date: Sun, 4 Oct 2026 10:52:45 +0000 Subject: [PATCH] test(shared-libs-plan-callers): type the brief-line parameter --- test/helpers/shared-libs-plan-actor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/helpers/shared-libs-plan-actor.ts b/test/helpers/shared-libs-plan-actor.ts index 03e03cd52..458833d45 100644 --- a/test/helpers/shared-libs-plan-actor.ts +++ b/test/helpers/shared-libs-plan-actor.ts @@ -90,7 +90,7 @@ export function createSharedPlanReuseSelector(): SharedQuestionSelector { // plan fixes behavior to the existing helper"); the recommended choice and // every other brief and option line carry what the option commits to. const briefCommitments = context.split('\n') - .map(line => /^\s*Recommendation\s*:/i.test(line) ? line.replace(/\s+because\b.*$/i, '') : line).join('\n'); + .map((line: string) => /^\s*Recommendation\s*:/i.test(line) ? line.replace(/\s+because\b.*$/i, '') : line).join('\n'); const proposed = affirmativeCommitments(briefCommitments + '\n' + commitment); const expansions = [ // Forbidden actions are verb + object, never a bare noun: "helper hardening