Skip to content

Commit

Permalink
Set module and moduleResolution TypeScript configs appropriately
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Oct 7, 2023
1 parent a8967f9 commit 7afbab7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion sample/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"esModuleInterop": true,
"isolatedModules": true,
"jsx": "react-jsx",
"moduleResolution": "node",
"module": "esnext",
"moduleResolution": "bundler",
"noUncheckedIndexedAccess": true,
"outDir": "dist",
"strict": true,
Expand Down
3 changes: 2 additions & 1 deletion test/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"esModuleInterop": true,
"isolatedModules": true,
"jsx": "react-jsx",
"moduleResolution": "node",
"module": "esnext",
"moduleResolution": "bundler",
"noUncheckedIndexedAccess": true,
"outDir": "dist",
"strict": true,
Expand Down

0 comments on commit 7afbab7

Please sign in to comment.