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

Method compile

src/index.ts:521–521  ·  view source on GitHub ↗
(code: string, fileName: string, lineOffset?: number)

Source from the content-addressed store, hash-verified

519 enabled(enabled?: boolean): boolean;
520 ignored(fileName: string): boolean;
521 compile(code: string, fileName: string, lineOffset?: number): string;
522 getTypeInfo(code: string, fileName: string, position: number): TypeInfo;
523 /** @internal */
524 configFilePath: string | undefined;

Callers 8

registerExtensionFunction · 0.80
transformSourceFunction · 0.80
startInternalFunction · 0.80
index.spec.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected