-
-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove any type #122
Remove any type #122
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@chungweileong94 is attempting to deploy a commit to the t3-oss Team on Vercel. A member of the Team first needs to authorize it. |
@@ -61,7 +61,7 @@ export function createEnv< | |||
>(opts: Options<TServer, TClient, TShared>) { | |||
const client = typeof opts.client === "object" ? opts.client : {}; | |||
const server = typeof opts.server === "object" ? opts.server : {}; | |||
const shared = typeof opts.shared === "object" ? opts.shared : {}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this begs the question why are we doing this check for client/server ? the core package handles that already 🤔
Lines 165 to 167 in 80e27dd
const _client = typeof opts.client === "object" ? opts.client : {}; | |
const _server = typeof opts.server === "object" ? opts.server : {}; | |
const _shared = typeof opts.shared === "object" ? opts.shared : {}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @chungweileong94 ?
No description provided.