diff --git a/packages/react-scripts/config/react-app.d.ts b/packages/react-scripts/config/react-app.d.ts index 82d32f1017a..8d91473dc5a 100644 --- a/packages/react-scripts/config/react-app.d.ts +++ b/packages/react-scripts/config/react-app.d.ts @@ -3,12 +3,10 @@ // If you need to add additional declarations, please do so in a new file. declare namespace NodeJS { - interface Process { - env: { - [key: string]: string | undefined; - NODE_ENV: 'development' | 'production' | 'test'; - PUBLIC_URL: string; - }; + interface ProcessEnv { + [key: string]: string | undefined + NODE_ENV: 'development' | 'production' | 'test' + PUBLIC_URL: string } }