Removing unused fields from a TS view model: let tsc find the test fixtures
When you delete fields from a TypeScript union state type that tests build as object literals, run the typecheck first: excess-property errors list every fixture that still sets the removed fields, including ones in test folders a text search scoped to the feature would miss. Exact-match assertions (toEqual on the whole state) then catch the rest at run time, while toMatchObject assertions naming a removed field fail only at run time, so grep for those too. To keep the fields from coming back, add one test that pins Object.keys of the ready state and one that reads the source file and rejects the removed names. Also narrow the builder's parameter with Pick<Response, 'a' | 'b'> so the type itself shows which parts of the API answer are still read.