Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
fix(ts): update ts module & moduleResolution (#319)
Browse files Browse the repository at this point in the history
<!--  Thanks for sending a pull request! -->

#### What this PR does / why we need it:

In ts 5.2 onwards module and moduleResolution has to be set to `node16`
or `nodenext`

https://devblogs.microsoft.com/typescript/announcing-typescript-5-2/

#### Which issue(s) will this PR fix?:

<!--
(Optional) Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->

Fixes #

#### Additional comments?:
  • Loading branch information
joeldavidw authored Jan 3, 2024
1 parent ef64be0 commit b9d18a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/typescript/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"display": "Default",
"compilerOptions": {
"lib": ["ES2022"],
"module": "CommonJS",
"module": "NodeNext",
"target": "ES2022",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"moduleResolution": "node",
"moduleResolution": "NodeNext",
"composite": false,
"declaration": true,
"declarationMap": true,
Expand Down

0 comments on commit b9d18a2

Please sign in to comment.