diff --git a/src/detectors/typeChecker/index.ts b/src/detectors/typeChecker/index.ts index 86a99da84..2cda29b99 100644 --- a/src/detectors/typeChecker/index.ts +++ b/src/detectors/typeChecker/index.ts @@ -226,7 +226,7 @@ export class TsProjectDetector extends ProjectBasedDetector { .map((res) => { if (res && !res.endsWith(".js")) { const chunks = res?.split("."); - chunks.splice(-1, 1, "js") + chunks.splice(-1, 1, "js"); res = chunks.join("."); } return res;