download
raw
306 Bytes
import { expect, expectTypeOf, test } from "vitest";
import * as z from "zod/v4";
test("void", () => {
const v = z.void();
v.parse(undefined);
expect(() => v.parse(null)).toThrow();
expect(() => v.parse("")).toThrow();
type v = z.infer<typeof v>;
expectTypeOf<v>().toEqualTypeOf<void>();
});

Xet Storage Details

Size:
306 Bytes
·
Xet hash:
5354530aa8575ba7fdc2db6ca4177b1aca9bd1dc774c84ca9bc0c47938c96341

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.