File tree Expand file tree Collapse file tree 2 files changed +15
-12
lines changed Expand file tree Collapse file tree 2 files changed +15
-12
lines changed Original file line number Diff line number Diff line change 1
- import TSNode from "ts-node" ;
2
1
import ts from "typescript" ;
3
- import type { REGISTER_INSTANCE } from "ts-node " ;
2
+ export { default as register } from "./register " ;
4
3
5
4
/* ****************************************************************************************************************** *
6
5
* Hardcoded declarations file for npm package
@@ -21,16 +20,6 @@ export interface TransformerExtras {
21
20
ts : typeof ts ;
22
21
}
23
22
24
- export function register ( ) : TSNode . RegisterOptions | undefined ;
25
-
26
- export declare namespace register {
27
- function initialize ( ) : {
28
- tsNode : typeof TSNode ;
29
- instanceSymbol : typeof REGISTER_INSTANCE ;
30
- tsNodeInstance : TSNode . Service ;
31
- } ;
32
- }
33
-
34
23
export default function transformer (
35
24
program ?: ts . Program ,
36
25
pluginConfig ?: TsTransformPathsConfig ,
Original file line number Diff line number Diff line change
1
+ import TSNode from "ts-node" ;
2
+ import type { REGISTER_INSTANCE } from "ts-node" ;
3
+
4
+ export function register ( ) : TSNode . RegisterOptions | undefined ;
5
+
6
+ export declare namespace register {
7
+ function initialize ( ) : {
8
+ tsNode : typeof TSNode ;
9
+ instanceSymbol : typeof REGISTER_INSTANCE ;
10
+ tsNodeInstance : TSNode . Service ;
11
+ } ;
12
+ }
13
+
14
+ export default register ;
You can’t perform that action at this time.
0 commit comments