chore: Add changes

This commit is contained in:
BluJ
2023-04-05 14:48:51 -06:00
parent 45192e0358
commit 5414b301f3
15 changed files with 326 additions and 97 deletions

View File

@@ -141,7 +141,10 @@ describe("values", () => {
const validator = value.validator();
validator.unsafeCast({ unionSelectKey: "a", unionValueKey: { b: false } });
type Test = typeof validator._TYPE;
testOutput<Test, { unionSelectKey: "a" } & { unionValueKey: { b: boolean } }>()(null);
testOutput<
Test,
{ unionSelectKey: "a" } & { unionValueKey: { b: boolean } }
>()(null);
});
test("list", () => {
const value = Value.list(