import type { GenericContainer } from "./generic-container/generic-container"; import type { TestContainer } from "./test-container"; type BuilderMethodName = Extract; describe("TestContainer", () => { it("declares every public builder method of GenericContainer", () => { expectTypeOf, keyof TestContainer>>().toBeNever(); }); });