Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 418e6ee

Browse files
brunolemosTimer
authored andcommitted
Fix process.env types (#5589)
Fix #5576
1 parent 8abf892 commit 418e6ee

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

‎packages/react-scripts/config/react-app.d.ts‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@
33
// If you need to add additional declarations, please do so in a new file.
44

55
declare namespace NodeJS {
6-
interface Process {
7-
env: {
8-
[key: string]: string | undefined;
9-
NODE_ENV: 'development' | 'production' | 'test';
10-
PUBLIC_URL: string;
11-
};
6+
interface ProcessEnv {
7+
[key: string]: string | undefined
8+
NODE_ENV: 'development' | 'production' | 'test'
9+
PUBLIC_URL: string
1210
}
1311
}
1412

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /