Skip to content

Commit e98be1c

Browse files
authored
Correct env type declaration filename in docs (#1155)
1 parent ac9d184 commit e98be1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/routes/configuration/environment-variables.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Public variables are considered safe to expose to the client-side code. These va
1111
In the root directory of the project, create a file called `.env`.
1212
This file will store environment variables in the `key = value` format.
1313

14-
If working with TypeScript it is possible to make such variables type-safe and enable your TypeScript Language Service Provider (LSP) to autocomplete them by creating a file called `.env.d.ts` in the root directory of the project.
14+
If working with TypeScript it is possible to make such variables type-safe and enable your TypeScript Language Service Provider (LSP) to autocomplete them by creating a file called `env.d.ts` in the root directory of the project.
1515

1616
```typescript
1717
interface ImportMetaEnv {
@@ -79,7 +79,7 @@ For an example, check the pseudo-code below.
7979
}
8080
```
8181
82-
It is also possible to make `process.env` type-safe via the same `.env.d.ts` file.
82+
It is also possible to make `process.env` type-safe via the same `env.d.ts` file.
8383
8484
```typescript
8585

0 commit comments

Comments
 (0)