1 |
|
2 | import { REPLServer } from "repl";
|
3 | export declare class TsRepl {
|
4 | private readonly typeScriptService;
|
5 | private readonly debuggingEnabled;
|
6 | private readonly evalFilename;
|
7 | private readonly evalPath;
|
8 | private readonly evalData;
|
9 | private readonly resetToZero;
|
10 | private readonly initialTypeScript;
|
11 | private context;
|
12 | constructor(tsconfigPath: string, initialTypeScript: string, debuggingEnabled?: boolean, installationDir?: string);
|
13 | start(): Promise<REPLServer>;
|
14 | private compileAndExecute;
|
15 | /**
|
16 | * Add user-friendly error handling around compileAndExecute
|
17 | */
|
18 | private replEval;
|
19 | private appendTypeScriptInput;
|
20 | }
|