Skip to content

Commit

Permalink
Added lib option to ts.config (reactplay#786)
Browse files Browse the repository at this point in the history
* Added lib option to ts.config

* change the use of VoidFunction to void

* changed the target es version to es6

* add es2015 to lib option

* added DOM to lib option in tsconfig.json

* revert chagne of VoidFunction

* Revert "change the use of VoidFunction to void"

This reverts commit d0a5c89.

Co-authored-by: Tapas Adhikary <[email protected]>
  • Loading branch information
ammaaraslam and atapas committed Nov 12, 2022
1 parent 0d064cc commit 1e8cee8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"outDir": "./dist/",
"noImplicitAny": true,
"module": "es6",
"target": "es5",
"lib": ["es2022", "ES6", "DOM"],
"target": "es6",
"allowJs": true,
"moduleResolution": "node",
"suppressImplicitAnyIndexErrors": false,
Expand Down

0 comments on commit 1e8cee8

Please sign in to comment.