@lingui/cli
Version:
CLI for working wit message catalogs
20 lines (19 loc) • 511 B
TypeScript
import { LinguiConfigNormalized } from "@lingui/conf";
import { FormatterWrapper } from "../api/formats";
export declare function extractFromBundleAndWrite(params: {
entryPoint: string;
bundleFile: string;
linguiConfig: LinguiConfigNormalized;
outputPattern: string;
format: FormatterWrapper;
template: boolean;
locales: string[];
clean: boolean;
overwrite: boolean;
}): Promise<{
success: boolean;
stat?: undefined;
} | {
success: boolean;
stat: string;
}>;