Skip to content

Commit a566dd0

Browse files
brunolemosTimer
authored andcommitted
Fix process.env types (facebook#5589)
Fix facebook#5576
1 parent be31a31 commit a566dd0

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

config/react-app.d.ts

+4-6
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)