@intlayer/chokidar
Version:
Uses chokidar to scan and build Intlayer declaration files into dictionaries based on Intlayer configuration.
12 lines (11 loc) • 523 B
TypeScript
import { IntlayerConfig } from "@intlayer/types/config";
import { Dictionary } from "@intlayer/types/dictionary";
//#region src/createType/createType.d.ts
declare const generateTypeScriptType: (dictionary: Dictionary) => string;
/**
* This function generates a TypeScript type definition from a JSON object
*/
declare const createTypes: (dictionaries: Dictionary[], configuration: IntlayerConfig) => Promise<string[]>;
//#endregion
export { createTypes, generateTypeScriptType };
//# sourceMappingURL=createType.d.ts.map