Allow Intl.supportedValuesOf usage in schema.mjs

This commit is contained in:
2023-03-09 19:01:32 -06:00
parent 43c2d1100c
commit ed6e737f5f

1
src/env/schema.mjs vendored
View File

@@ -1,6 +1,7 @@
// @ts-check
import { z } from 'zod';
// @ts-ignore
const TimezoneSchema = z.enum(Intl.supportedValuesOf("timeZone"));
/**
* Specify your server-side environment variables schema here.