@odata2ts/odata2ts
Version:
Flexible generator to produce various TypeScript artefacts (from simple model interfaces to complete odata clients) from OData metadata files
12 lines (11 loc) • 487 B
TypeScript
import { CompilerOptions } from "ts-morph";
import { EmitModes } from "../OptionModel.js";
/**
* Loads the TS configuration from the specified path.
* Then maps the appropriate options to ts-morph compiler options.
*
* @param tsConfigPath path to tsconfig.json
* @param emitMode the used emit mode
* @param outputDir the used output dir
*/
export declare function loadTsMorphCompilerOptions(tsConfigPath: string, emitMode: EmitModes, outputDir: string): Promise<CompilerOptions>;