@intlayer/chokidar
Version:
Uses chokidar to scan and build Intlayer declaration files into dictionaries based on Intlayer configuration.
9 lines • 487 B
TypeScript
import { Dictionary } from '@intlayer/core';
/**
* Updates a JavaScript/TypeScript file based on the provided JSON instructions.
* It targets a specific dictionary object within the file (identified by its 'key' property)
* and updates its 'content' entries. Currently, it focuses on modifying arguments
* of 't' (translation) function calls.
*/
export declare const writeJSFile: (filePath: string, dictionary: Dictionary) => Promise<void>;
//# sourceMappingURL=writeJSFile.d.ts.map