mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-01-12 22:46:30 +08:00
fix: Duplicate string index signature in ProcessEnv (#5621)
This commit is contained in:
committed by
Joe Haddad
parent
b18ea6c818
commit
e1321e520c
1
packages/react-scripts/lib/react-app.d.ts
vendored
1
packages/react-scripts/lib/react-app.d.ts
vendored
@@ -4,7 +4,6 @@
|
||||
|
||||
declare namespace NodeJS {
|
||||
interface ProcessEnv {
|
||||
[key: string]: string | undefined
|
||||
NODE_ENV: 'development' | 'production' | 'test'
|
||||
PUBLIC_URL: string
|
||||
}
|
||||
|
||||
@@ -94,7 +94,7 @@ function verifyTypeScriptSetup() {
|
||||
suggested: 'es5',
|
||||
},
|
||||
allowJs: { suggested: true },
|
||||
skipLibCheck: { suggested: true },
|
||||
skipLibCheck: { suggested: false },
|
||||
esModuleInterop: { suggested: true },
|
||||
allowSyntheticDefaultImports: { suggested: true },
|
||||
strict: { suggested: true },
|
||||
|
||||
Reference in New Issue
Block a user