Skip to content

Commit

Permalink
style: Corrected comment typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nonara committed Jun 3, 2024
1 parent 33a9c56 commit 46852a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/patch/src/plugin/esm-intercept.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ namespace tsp {
// regardless of the tsConfig properly specifying ESNext for module and target. Notably, this issue seems
// to have started with TS v5.5,
//
// To work around, we will tell ts-node that it's an "mjs" file.
// To work around, we will tell ts-node that it's an "mts" file.
const newPath = resolvedPath.replace(/\.ts$/, '.mts');

const jsCode = registerConfig.tsNodeInstance!.compile(tsCode, newPath);
Expand Down

0 comments on commit 46852a3

Please sign in to comment.