Fix process.env types (#5589)

Fix #5576
This commit is contained in:
Bruno Lemos
2018-10-26 16:07:01 -03:00
committed by Joe Haddad
parent 8abf892e4b
commit 418e6ee6ff

View File

@@ -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
}
}