UNPKG

generator-begcode

Version:

Spring Boot + Angular/React/Vue in one handy generator

9 lines (8 loc) 606 B
import type { GetWebappTranslationCallback } from '../../../lib/types/base/translation.js'; export type ReplacerOptions = { jhiPrefix: string; enableTranslation: boolean; }; export declare const createTranslationReplacer: (getWebappTranslation: GetWebappTranslationCallback, opts: ReplacerOptions | boolean) => (content: string, filePath: string) => string; export declare const isTranslatedAngularFile: (file: any) => boolean; export declare const translateAngularFilesTransform: (getWebappTranslation: GetWebappTranslationCallback, opts: ReplacerOptions | boolean) => import("stream").Transform;