UNPKG

@apptus/esales-api

Version:

Library for making requests to Elevate 4 API v3

17 lines (12 loc) 479 B
import { describe, it } from '#test'; import type { ProductGroup } from './mod.ts'; import type * as m from './lists.ts'; const suite = describe('Lists'); it(suite, '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 {}); });