File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1- import path from "path" ;
1+ import path from "node:path" ;
2+
23import { cosmiconfig , cosmiconfigSync } from "cosmiconfig" ;
4+
35import { TypeScriptLoader } from "." ;
46
57describe ( "TypeScriptLoader" , ( ) => {
Original file line number Diff line number Diff line change 1- import fs from "fs" ;
2- import path from "path" ;
1+ import fs from "node:fs" ;
2+ import path from "node:path" ;
3+
34import { Loader } from "cosmiconfig" ;
45import * as tsnode from "ts-node" ;
6+
57import { TypeScriptLoader } from "./loader" ;
68import { TypeScriptCompileError } from "./typescript-compile-error" ;
79
Original file line number Diff line number Diff line change 11import type { Loader } from "cosmiconfig" ;
22import { register , RegisterOptions } from "ts-node" ;
3+
34import { TypeScriptCompileError } from "./typescript-compile-error" ;
45
56export function TypeScriptLoader ( options ?: RegisterOptions ) : Loader {
You can’t perform that action at this time.
0 commit comments