File tree 2 files changed +9
-3
lines changed
2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,12 @@ import { createResolverFunctions } from './resolver-functions';
26
26
import { ScriptTarget } from 'typescript' ;
27
27
28
28
export { TSCommon } ;
29
- export { createRepl , CreateReplOptions , ReplService } from './repl' ;
29
+ export {
30
+ createRepl ,
31
+ CreateReplOptions ,
32
+ ReplService ,
33
+ EvalAwarePartialHost ,
34
+ } from './repl' ;
30
35
export type {
31
36
TranspilerModule ,
32
37
TranspilerFactory ,
Original file line number Diff line number Diff line change @@ -82,7 +82,8 @@ export interface ReplService {
82
82
*/
83
83
nodeEval (
84
84
code : string ,
85
- context : Context ,
85
+ // TODO change to `Context` in a future release? Technically a breaking change
86
+ context : any ,
86
87
_filename : string ,
87
88
callback : ( err : Error | null , result ?: any ) => any
88
89
) : void ;
@@ -218,7 +219,7 @@ export function createRepl(options: CreateReplOptions = {}) {
218
219
219
220
function nodeEval (
220
221
code : string ,
221
- context : Context ,
222
+ context : any ,
222
223
_filename : string ,
223
224
callback : ( err : Error | null , result ?: any ) => any
224
225
) {
You can’t perform that action at this time.
0 commit comments