We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42f4d5f commit 0320574Copy full SHA for 0320574
1 file changed
src/utils/ts-helpers.ts
@@ -1,7 +1,7 @@
1
import ts, { GetCanonicalFileName, SourceFile } from "typescript";
2
import path from "path";
3
import { VisitorContext } from "../types";
4
-import { REGISTER_INSTANCE } from "ts-node";
+import type { REGISTER_INSTANCE } from "ts-node";
5
6
/* ****************************************************************************************************************** */
7
// region: TS Helpers
@@ -84,7 +84,7 @@ export function getTsNodeRegistrationProperties(tsInstance: typeof ts) {
84
85
if (!global.process[tsNodeSymbol]) return undefined;
86
87
- const { config, options } = global.process[REGISTER_INSTANCE]!;
+ const { config, options } = global.process[tsNodeSymbol]!;
88
89
const { configFilePath } = config.options;
90
const pcl = configFilePath
0 commit comments