UNPKG

@odata2ts/odata2ts

Version:

Flexible generator to produce various TypeScript artefacts (from simple model interfaces to complete odata clients) from OData metadata files

27 lines 588 B
/** * Abstract formatter. * * @export * @abstract * @class Formatter */ export class BaseFormatter { /** * Default constructor * @param {string} output Path of the output file * @memberof Formatter */ constructor(output) { this.output = output; } /** * Returns initialized ts-morph manipuation settings. * * @returns {Promise<Partial<ManipulationSettings>>} ts-morph manipulation settings * @memberof Formatter */ getSettings() { return this.settings; } } //# sourceMappingURL=BaseFormatter.js.map