How to deal with env variable being string | undefined when clientId is expecting only string?
I'm trying to think of a solution to this... any ideas? So far I'm just doing typeof, and if it is not string then error.

{ env }process.env.*as stringimport { z } from "zod";
const envSchema = z.object({
NODE_ENV: z
.enum(["development", "production", "test"])
.optional()
.default("development"),
DATABASE_URL: z.string().url(),
});
export const env = envSchema.parse(process.env);