UNPKG

@ts-intl/dependency

Version:

I18n keys dependency analysis

18 lines 692 B
import { IContext } from '../types'; /** * generate new pathIntlKeysMap which only includes offsprings of modules * @param modules * @param graph * @param pathIntlKeysMap * @returns */ export declare const extractPathIntlKeysMap: (modules: string[], graph: IContext['graph'], pathIntlKeysMap: IContext['pathIntlKeysMap'], ignoreEmpty?: boolean) => IContext['pathIntlKeysMap']; /** * get intl keys of a module and offsprings * @param module * @param graph * @param pathIntlKeysMap * @returns */ export declare const getModuleIntlKeysMap: (module: string, graph: IContext['graph'], pathIntlKeysMap: IContext['pathIntlKeysMap']) => Set<string>; //# sourceMappingURL=pathKeys.d.ts.map