svgo
Version:
23 lines (22 loc) • 858 B
TypeScript
/**
* @typedef PrefixIdsParams
* @property {boolean | string | ((node: import('../lib/types.js').XastElement, info: import('../lib/types.js').PluginInfo) => string)=} prefix
* @property {string=} delim
* @property {boolean=} prefixIds
* @property {boolean=} prefixClassNames
*/
export const name: "prefixIds";
export const description: "prefix IDs";
/**
* Prefixes identifiers
*
* @author strarsis <strarsis@gmail.com>
* @type {import('../lib/types.js').Plugin<PrefixIdsParams>}
*/
export const fn: import("../lib/types.js").Plugin<PrefixIdsParams>;
export type PrefixIdsParams = {
prefix?: (boolean | string | ((node: import("../lib/types.js").XastElement, info: import("../lib/types.js").PluginInfo) => string)) | undefined;
delim?: string | undefined;
prefixIds?: boolean | undefined;
prefixClassNames?: boolean | undefined;
};