mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-01-12 22:46:30 +08:00
Add permissive TS lib defaults (#5694)
This commit is contained in:
@@ -93,6 +93,7 @@ function verifyTypeScriptSetup() {
|
||||
parsedValue: ts.ScriptTarget.ES5,
|
||||
suggested: 'es5',
|
||||
},
|
||||
lib: ['dom', 'dom.iterable', 'esnext'],
|
||||
allowJs: { suggested: true },
|
||||
skipLibCheck: { suggested: false },
|
||||
esModuleInterop: { suggested: true },
|
||||
|
||||
Reference in New Issue
Block a user