UNPKG

svgo

Version:

SVGO is a Node.js library and command-line application for optimizing vector images.

22 lines (21 loc) 638 B
/** * @typedef RemoveDescParams * @property {boolean=} removeAny */ export const name: "removeDesc"; export const description: "removes <desc>"; /** * Removes <desc>. * Removes only standard editors content or empty elements because it can be * used for accessibility. Enable parameter 'removeAny' to remove any * description. * * @author Daniel Wabyick * @see https://developer.mozilla.org/docs/Web/SVG/Element/desc * * @type {import('../lib/types.js').Plugin<RemoveDescParams>} */ export const fn: import("../lib/types.js").Plugin<RemoveDescParams>; export type RemoveDescParams = { removeAny?: boolean | undefined; };