Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | /**
* Input to the unified transpile() method.
*
* Discriminated union:
* - { kind: 'files' } — CLI mode, discovers from config.inputs, writes to disk
* - { kind: 'source', ... } — API mode, in-memory source, returns results as strings
*/
type TTranspileInput =
| { readonly kind: "files" }
| {
readonly kind: "source";
readonly source: string;
readonly workingDir?: string;
readonly includeDirs?: string[];
readonly sourcePath?: string;
};
export default TTranspileInput;
|