Skip to content

Commit

Permalink
fix: typos on README (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
FeMaffezzolli authored May 29, 2023
1 parent b7f8def commit f65a509
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const env = createEnv({
/*
* Environment variables available on the client (and server).
*
* 💡 You'll get typeerrors if these are not prefixed with NEXT_PUBLIC_.
* 💡 You'll get type errors if these are not prefixed with NEXT_PUBLIC_.
*/
client: {
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY: z.string().min(1),
Expand All @@ -47,7 +47,7 @@ export const env = createEnv({
* Due to how Next.js bundles environment variables on Edge and Client,
* we need to manually destructure them to make sure all are included in bundle.
*
* 💡 You'll get typeerrors if not all variables from `server` & `client` are included here.
* 💡 You'll get type errors if not all variables from `server` & `client` are included here.
*/
runtimeEnv: {
DATABASE_URL: process.env.DATABASE_URL,
Expand All @@ -58,7 +58,7 @@ export const env = createEnv({
});
```

### Use said schema in your app with autocompletion and type inference
### Use the schema in your app with autocompletion and type inference

```ts
// src/app/hello/route.ts
Expand Down

1 comment on commit f65a509

@vercel
Copy link

@vercel vercel bot commented on f65a509 May 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

t3-env – ./

t3-env-t3-oss.vercel.app
t3-env-git-main-t3-oss.vercel.app
env.t3.gg
t3-env.vercel.app

Please sign in to comment.