File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
import ts , { GetCanonicalFileName , SourceFile } from "typescript" ;
2
2
import path from "path" ;
3
3
import { VisitorContext } from "../types" ;
4
- import { REGISTER_INSTANCE } from "ts-node" ;
4
+ import type { REGISTER_INSTANCE } from "ts-node" ;
5
5
6
6
/* ****************************************************************************************************************** */
7
7
// region: TS Helpers
@@ -84,7 +84,7 @@ export function getTsNodeRegistrationProperties(tsInstance: typeof ts) {
84
84
85
85
if ( ! global . process [ tsNodeSymbol ] ) return undefined ;
86
86
87
- const { config, options } = global . process [ REGISTER_INSTANCE ] ! ;
87
+ const { config, options } = global . process [ tsNodeSymbol ] ! ;
88
88
89
89
const { configFilePath } = config . options ;
90
90
const pcl = configFilePath
You can’t perform that action at this time.
0 commit comments