fix(rectification): unblock next build typecheck for house tables

Docker npm run build failed on Failed to type check. The skill-package-registry Import traces were only file-tracing noise; houseTable used && on string|null, and eight-method tests compared impossible literals that tsconfig still typechecks.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Jesse_Chen
2026-08-20 12:21:08 +08:00
parent 3c6c86e307
commit 0eebf9713f
3 changed files with 27 additions and 6 deletions
@@ -220,8 +220,8 @@ export function parseRectificationCandidateResult(value: unknown): Rectification
const fallbackHouseTable = parseRectificationHouseTable(snapshot.houseTable)
?? parseRectificationHouseTable(snapshot.house_table)
?? parseRectificationHouseTable(receipt?.house_table);
const houseTable = (selectedTime && houseTablesByTime[selectedTime])
?? (representativeTime && houseTablesByTime[representativeTime])
const houseTable = (selectedTime ? houseTablesByTime[selectedTime] : null)
?? (representativeTime ? houseTablesByTime[representativeTime] : null)
?? fallbackHouseTable;
return {