@t3-oss/env-core
Advanced tools
Comparing version 0.2.3-canary.d741dde to 0.2.3-canary.edd0ea5
@@ -28,4 +28,4 @@ import z, { ZodType, ZodError, ZodObject } from 'zod'; | ||
} | ||
declare function createEnv<TPrefix extends string, TServer extends Record<string, ZodType> = NonNullable<unknown>, TClient extends Record<string, ZodType> = NonNullable<unknown>>(opts: LooseOptions<TPrefix, TServer, TClient> | StrictOptions<TPrefix, TServer, TClient>): Simplify<z.infer<ZodObject<TServer>> & z.infer<ZodObject<TClient>>>; | ||
declare function createEnv<TPrefix extends string, TServer extends Record<string, ZodType> = NonNullable<unknown>, TClient extends Record<string, ZodType> = NonNullable<unknown>>(opts: LooseOptions<TPrefix, TServer, TClient> | StrictOptions<TPrefix, TServer, TClient>): Simplify<TClient extends Record<string, never> ? z.infer<ZodObject<TServer>> : TServer extends Record<string, never> ? z.infer<ZodObject<TClient>> : z.infer<ZodObject<TServer>> & z.infer<ZodObject<TClient>>>; | ||
export { BaseOptions, ErrorMessage, LooseOptions, Simplify, StrictOptions, createEnv }; |
{ | ||
"name": "@t3-oss/env-core", | ||
"version": "0.2.3-canary.d741dde", | ||
"version": "0.2.3-canary.edd0ea5", | ||
"keywords": [ | ||
@@ -5,0 +5,0 @@ "create-t3-app", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
18852