ttsc
Version:
General-purpose TypeScript-Go compiler, runtime, plugin host, and LSP host.
18 lines (17 loc) • 700 B
TypeScript
import fs from "node:fs";
import type { TtscCommonOptions } from "../../structures/internal/TtscCommonOptions";
import { type OwningModuleOptions } from "./runtimeHooks";
/** Build the owning project and locate the emitted JavaScript entry for `ttsx`. */
export declare function prepareExecution(entryFile: string, options?: TtscCommonOptions & {
cacheDir?: string;
project?: string;
}): {
cleanupDir: string;
emitDir: string;
emittedFiles?: readonly string[];
entryFile: string;
moduleOptions: OwningModuleOptions;
projectRoot: string;
rootDir: string;
};
export declare function linkVirtualEntry(realEntry: string, virtualEntry: string, entry: fs.Dirent): void;