UNPKG

@criticalmanufacturing/dev-i18n-transform

Version:
18 lines (17 loc) 546 B
import { Writer } from "./writer.interface"; import { Package } from "../model/package"; /** * Writer Factory * * Provides an instance of a {@see Writer}. */ export declare class WriterFactory { /** * Gets the correct writer for the specified language * * @param pack Package to write * @param language Language to write to * @returns An instance of a writer for the specified language */ static getWriter(pack: Package, outputLanguage: string, language: "ts" | "po" | "pot"): Writer; }