Skip to content

Commit

Permalink
Update react-app.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
brunolemos authored Oct 26, 2018
1 parent c662dfb commit 283c41b
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions packages/react-scripts/config/react-app.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

Expand Down

0 comments on commit 283c41b

Please sign in to comment.