Socket
Socket
Sign inDemoInstall

@t3-oss/env-core

Package Overview
Dependencies
Maintainers
2
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@t3-oss/env-core - npm Package Compare versions

Comparing version 0.2.3-canary.d741dde to 0.2.3-canary.edd0ea5

2

dist/index.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc