Skip to content
This repository was archived by the owner on Jul 24, 2019. It is now read-only.

Commit e7fedfb

Browse files
xiaoxiangmoeTimer
authored andcommittedOct 31, 2018
fix: Duplicate string index signature in ProcessEnv (facebook#5621)
1 parent 32f161a commit e7fedfb

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed
 

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

‎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)