import { InputSpec, matchInputSpec } from "./output"; type TEqual = A extends B ? (B extends A ? null : never) : never; function testOutput(): (c: TEqual) => null { return () => null; } const testValue = null as unknown; // @ts-expect-error Because enable should be a boolean testOutput()(null); testOutput()(null); testOutput()(null); // testOutput()(null); describe("Inputs", () => { test("test", () => { expect(true).toEqual(true); }); });