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
+
2
3
import { cosmiconfig , cosmiconfigSync } from "cosmiconfig" ;
4
+
3
5
import { TypeScriptLoader } from "." ;
4
6
5
7
describe ( "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
+
3
4
import { Loader } from "cosmiconfig" ;
4
5
import * as tsnode from "ts-node" ;
6
+
5
7
import { TypeScriptLoader } from "./loader" ;
6
8
import { TypeScriptCompileError } from "./typescript-compile-error" ;
7
9
Original file line number Diff line number Diff line change 1
1
import type { Loader } from "cosmiconfig" ;
2
2
import { register , RegisterOptions } from "ts-node" ;
3
+
3
4
import { TypeScriptCompileError } from "./typescript-compile-error" ;
4
5
5
6
export function TypeScriptLoader ( options ?: RegisterOptions ) : Loader {
You can’t perform that action at this time.
0 commit comments