Skip to content

Commit e1321e5

Browse files
xiaoxiangmoeTimer
authored andcommitted
fix: Duplicate string index signature in ProcessEnv (#5621)
1 parent b18ea6c commit e1321e5

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/react-scripts/lib/react-app.d.ts

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
declare namespace NodeJS {
66
interface ProcessEnv {
7-
[key: string]: string | undefined
87
NODE_ENV: 'development' | 'production' | 'test'
98
PUBLIC_URL: string
109
}

packages/react-scripts/scripts/utils/verifyTypeScriptSetup.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ function verifyTypeScriptSetup() {
9494
suggested: 'es5',
9595
},
9696
allowJs: { suggested: true },
97-
skipLibCheck: { suggested: true },
97+
skipLibCheck: { suggested: false },
9898
esModuleInterop: { suggested: true },
9999
allowSyntheticDefaultImports: { suggested: true },
100100
strict: { suggested: true },

0 commit comments

Comments
 (0)