import { describe, it } from "vitest"; import { Expect, } from "inferred-types/types"; import { NonVariants } from "~"; import { AssertEqual, Dictionary, EmptyObject } from "inferred-types"; describe("NonVariants", () => { it("empty object", () => { type T = NonVariants; type cases = [ Expect>, ]; }); it("wide/no config", () => { type T = NonVariants>; type cases = [ Expect>, ]; }); it("static kv", () => { type T = NonVariants<{ foo: "foo"; lib: "kind-error" }>; type cases = [ Expect> ]; }); it("mixed", () => { type T = NonVariants<{ foo: "foo"; bar: string; baz: 1|2|3 }>; type cases = [ Expect> ]; }); });