@@ -19,6 +19,7 @@ export interface CreateOptions {
1919 // @deprecated
2020 dir? : string ;
2121 emit? : boolean ;
22+ experimentalReplAwait? : boolean ;
2223 // (undocumented)
2324 fileExists? : (path : string ) => boolean ;
2425 files? : boolean ;
@@ -69,6 +70,9 @@ export interface CreateTranspilerOptions {
6970 service: Pick <Service , ' config' | ' options' >;
7071}
7172
73+ // @public
74+ export type EvalAwarePartialHost = Pick <CreateOptions , ' readFile' | ' fileExists' >;
75+
7276// @public @deprecated
7377export type Register = Service ;
7478
@@ -85,15 +89,14 @@ export interface RegisterOptions extends CreateOptions {
8589
8690// @public (undocumented)
8791export interface ReplService {
88- // Warning: (ae-forgotten-export) The symbol "EvalAwarePartialHost" needs to be exported by the entry point index.d.ts
89- //
9092 // (undocumented)
9193 evalAwarePartialHost: EvalAwarePartialHost ;
92- // (undocumented)
93- evalCode(code : string ): void ;
94- nodeEval(code : string , _context : any , _filename : string , callback : (err : Error | null , result ? : any ) => any ): void ;
94+ evalCode(code : string ): any ;
95+ nodeEval(code : string , context : any , _filename : string , callback : (err : Error | null , result ? : any ) => any ): void ;
9596 setService(service : Service ): void ;
96- start(code ? : string ): void ;
97+ start(): void ;
98+ // @deprecated
99+ start(code : string ): void ;
97100 // (undocumented)
98101 readonly state: EvalState ;
99102}
0 commit comments