1
2
3
4
5
6
7
export const zodUnserializable = (async () => {
const z = await import("npm:zod");
await setTimeout(() => {}, 100);
const x = z.object({ test: z.string() }); // type .object after z
return x;
})();
// Forked from @tmcw.zodExample