UNPKG

@intlayer/chokidar

Version:

Uses chokidar to scan and build Intlayer declaration files into dictionaries based on Intlayer configuration.

8 lines 601 B
//#region src/utils/getFormatFromExtension.d.ts type Format = 'ts' | 'cjs' | 'esm' | 'json' | 'jsonc' | 'json5' | 'md' | 'yaml'; type Extension = '.ts' | '.tsx' | '.js' | '.jsx' | '.cjs' | '.cjsx' | '.mjs' | '.mjsx' | '.json' | '.jsonc' | '.json5' | '.md' | '.mdx' | '.yaml' | '.yml'; declare const getFormatFromExtension: (extension: Extension | (string & {})) => Format; declare const getExtensionFromFormat: (format: Format | (string & {})) => Extension; //#endregion export { Extension, Format, getExtensionFromFormat, getFormatFromExtension }; //# sourceMappingURL=getFormatFromExtension.d.ts.map