From 46852a34df00675fc1c339e454e815868211f1d4 Mon Sep 17 00:00:00 2001 From: Ron Spickenagel Date: Mon, 3 Jun 2024 17:12:39 -0400 Subject: [PATCH] style: Corrected comment typo --- projects/patch/src/plugin/esm-intercept.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/patch/src/plugin/esm-intercept.ts b/projects/patch/src/plugin/esm-intercept.ts index 9296e92..1cfdc16 100644 --- a/projects/patch/src/plugin/esm-intercept.ts +++ b/projects/patch/src/plugin/esm-intercept.ts @@ -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);