import { describe, it } from 'node:test'; import type { ProductGroup } from './mod.ts'; import type * as m from './lists.ts'; describe('Lists', () => { it('should have interface propeties for SecondaryList', () => { // deno-lint-ignore no-explicit-any const { productGroups, totalHits, ...rest }: m.SecondaryList = {} as any; (productGroups satisfies ProductGroup[]); (totalHits satisfies number); // deno-lint-ignore ban-types (rest satisfies {}); }); });