svgo
Version:
23 lines (22 loc) • 686 B
TypeScript
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>;