Skip to content

Conversation

@Mrtenz
Copy link
Member

@Mrtenz Mrtenz commented Jun 6, 2025

This updates the lib, module, moduleResolution, and target options in tsconfig.


Note

Updates tsconfig.json to use lib ES2023, module/moduleResolution Node16, and normalizes target casing.

  • TypeScript config (tsconfig.json):
    • Update lib from ES2020 to ES2023.
    • Change module to Node16 and moduleResolution to Node16.
    • Normalize target casing to ES2020.

Written by Cursor Bugbot for commit 7884311. This will update automatically on new commits. Configure here.

"lib": ["ES2020"],
"module": "CommonJS",
"moduleResolution": "node",
"lib": ["ES2023"],
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can use a ECMAScript version here that's newer than the target, in which case TypeScript will transpile newer features if necessary.

Comment on lines +7 to +8
"module": "Node16",
"moduleResolution": "Node16",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Setting these to Node16 is recommended by the TypeScript team, and also speeds up ts-bridge.

@Mrtenz Mrtenz force-pushed the mrtenz/update-tsconfig branch from cdae016 to f9dc878 Compare August 8, 2025 14:24
@Mrtenz Mrtenz marked this pull request as ready for review August 8, 2025 14:31
@Mrtenz Mrtenz requested a review from a team August 8, 2025 14:31
cursor[bot]

This comment was marked as outdated.

Copy link
Contributor

@mcmire mcmire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Mrtenz Mrtenz requested a review from a team as a code owner October 14, 2025 17:21
@Mrtenz Mrtenz enabled auto-merge (squash) October 14, 2025 17:22
@Mrtenz Mrtenz merged commit f194d43 into main Oct 14, 2025
22 checks passed
@Mrtenz Mrtenz deleted the mrtenz/update-tsconfig branch October 14, 2025 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants