t3-oss / t3-env

https://env.t3.gg
MIT License
2.45k stars 79 forks source link

Add explicit return types #224

Closed colinhacks closed 2 months ago

colinhacks commented 2 months ago

This creates a CreateEnv utility type in core/index.ts. This type is then used to provide an explicit return type for the framework-specific createEnv calls. This would have prevented the Zod 3.23.0 declaration issue.

vercel[bot] commented 2 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
t3-env ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 23, 2024 7:32am
vercel[bot] commented 2 months ago

@colinhacks is attempting to deploy a commit to the t3-oss Team on Vercel.

A member of the Team first needs to authorize it.