mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-01-12 22:46:30 +08:00
10
packages/react-scripts/config/react-app.d.ts
vendored
10
packages/react-scripts/config/react-app.d.ts
vendored
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user