From 283c41b380bdad891f201d2585642a0520dafa83 Mon Sep 17 00:00:00 2001 From: Bruno Lemos Date: Fri, 26 Oct 2018 13:52:41 -0300 Subject: [PATCH] Update react-app.d.ts Fix #5576 --- packages/react-scripts/config/react-app.d.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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 } }