Created
August 8, 2023 22:01
-
-
Save juanchoperezj/ee9e961b6a2efca6be2d5a4a42555796 to your computer and use it in GitHub Desktop.
ENV zod object
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import z from 'zod'; | |
const NativeConfig = z.object({ | |
API_URL: z.string(), | |
BASE_URL: z.string(), | |
}); | |
export type NativeConfigType = z.infer<typeof NativeConfig>; | |
export default NativeConfig; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment