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

Commit

Permalink
Add permissive TS lib defaults (facebook#5694)
Browse files Browse the repository at this point in the history
  • Loading branch information
Timer authored Nov 2, 2018
1 parent 382ec9e commit 5990f5e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/utils/verifyTypeScriptSetup.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down

0 comments on commit 5990f5e

Please sign in to comment.