MCPcopy
hub / github.com/TypeStrong/ts-node / setService

Method setService

src/repl.ts:55–55  ·  view source on GitHub ↗

* Bind this REPL to a ts-node compiler service. A compiler service must be bound before `eval`-ing code or starting the REPL

(service: Service)

Source from the content-addressed store, hash-verified

53 * Bind this REPL to a ts-node compiler service. A compiler service must be bound before `eval`-ing code or starting the REPL
54 */
55 setService(service: Service): void;
56 /**
57 * Append code to the virtual <repl> source file, compile it to JavaScript, throw semantic errors if the typechecker is enabled,
58 * and execute it.

Callers 3

phase4Function · 0.80
createReplViaApiFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected