@vendure/ngx-translate-extract
Version:
Extract strings from projects using ngx-translate
12 lines (11 loc) • 515 B
TypeScript
import { CompilerInterface, CompilerOptions } from './compiler.interface.js';
import { TranslationCollection } from '../utils/translation.collection.js';
export declare class JsonCompiler implements CompilerInterface {
indentation: string;
trailingNewline: boolean;
extension: string;
constructor(options?: CompilerOptions);
compile(collection: TranslationCollection): string;
parse(contents: string): TranslationCollection;
protected isNamespacedJsonFormat(values: unknown): boolean;
}