© 2026 Hedgehog Software, LLC
const nonEmptyStringOrNull = type("<s extends string>", [ "s | null | undefined", "=>", (s) => (!s ? null : s), ]);
const test = type({ test1: nonEmptyStringOrNull("'hi'") });