UNPKG

gen-jhipster

Version:

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

10 lines (9 loc) 581 B
import type { MemFsEditorFile } from 'mem-fs-editor'; import type { GetWebappTranslationCallback } from '../../client/translation.ts'; /** * Replace and cleanup translations. */ export declare const createTranslationReplacer: (getWebappTranslation: GetWebappTranslationCallback) => (body: string, filePath: string) => string; export declare const isTranslatedReactFile: (file: MemFsEditorFile) => boolean; declare const translateReactFilesTransform: (getWebappTranslation: GetWebappTranslationCallback) => import("stream").Transform; export default translateReactFilesTransform;