angular-translation-checker
Version:
A comprehensive tool for analyzing translation keys in Angular projects using ngx-translate
20 lines • 826 B
TypeScript
import { FormatterPlugin, PluginContext, AnalysisResult, OutputSection } from '../../types';
export declare class ConsoleFormatter implements FormatterPlugin {
readonly name = "console-formatter";
readonly version = "1.0.0";
readonly description = "Formats analysis results for console output";
readonly outputFormat: "console";
private logger;
initialize(context: PluginContext): Promise<void>;
format(result: AnalysisResult, sections: OutputSection[]): Promise<string>;
private formatSummary;
private formatDynamicPatterns;
private formatIgnoredKeys;
private formatUnusedKeys;
private formatMissingKeys;
private formatUsedKeys;
private formatTranslationKeys;
private formatConfig;
private getAllKeysFromObject;
}
//# sourceMappingURL=console-formatter.d.ts.map