Skip to content

Commit ebabd18

Browse files
xiaoxiangmoemrmckeb
authored andcommitted
Change NODE_ENV and PUBLIC_URL to readonly (#6750)
1 parent 278c62c commit ebabd18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/react-scripts/lib/react-app.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
declare namespace NodeJS {
66
interface ProcessEnv {
7-
NODE_ENV: 'development' | 'production' | 'test';
8-
PUBLIC_URL: string;
7+
readonly NODE_ENV: 'development' | 'production' | 'test';
8+
readonly PUBLIC_URL: string;
99
}
1010
}
1111

0 commit comments

Comments
 (0)