UNPKG

svgo

Version:

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

23 lines (22 loc) 686 B
export type RemoveDescParams = { removeAny?: boolean | undefined; }; /** * @typedef RemoveDescParams * @property {boolean=} removeAny */ export declare const name = "removeDesc"; export declare 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/en-US/docs/Web/SVG/Element/desc * * @type {import('../lib/types.js').Plugin<RemoveDescParams>} * @since 0.5.0 */ export declare const fn: import('../lib/types.js').Plugin<RemoveDescParams>;