ttsc
Version:
General-purpose TypeScript-Go compiler, runtime, plugin host, and LSP host.
17 lines (16 loc) • 552 B
TypeScript
/**
* Resolves the only file that positional `ttsc <source>` can materialize in the
* user's tree.
*
* The compiler itself emits into a private temporary directory. The launcher
* then copies one transformed JavaScript file to this path, so project-mode
* declaration, map, build-info, outFile, and broad outDir products are not
* positional outputs.
*/
export declare function resolveSingleFileOutput(options: {
cliOutDir?: string;
cwd: string;
file: string;
passthrough?: readonly string[];
tsconfig?: string;
}): string;