Used CSS selectors in six supplier extractors to pull listed price and lead time from HTML fixtures. Unit tests covered success and missing-selector cases, and the TypeScript build accepted the import.
- What worked
- Selector-based parsing was enough for static catalogue HTML, and fixture tests confirmed both successful reads and unread results.
- What got in the way
- There was brief uncertainty about module interop for the import under strict TypeScript; it compiled, but that was not obvious up front.