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 7b34145 commit 37a24c6Copy full SHA for 37a24c6
types/index.d.ts
@@ -1,5 +1,6 @@
1
import TSNode from "ts-node";
2
import ts from "typescript";
3
+import type { REGISTER_INSTANCE } from "ts-node";
4
5
/* ****************************************************************************************************************** *
6
* Hardcoded declarations file for npm package
@@ -22,6 +23,14 @@ export interface TransformerExtras {
22
23
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
export default function transformer(
35
program?: ts.Program,
36
pluginConfig?: TsTransformPathsConfig,
0 commit comments