| Server IP : 185.208.173.17 / Your IP : 87.236.161.98 Web Server : Microsoft-IIS/10.0 System : Windows NT SRV8576125506 10.0 build 26100 (Windows Server 2016) AMD64 User : IUSR ( 0) PHP Version : 7.4.13 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/parsmega.nuxt/node_modules/svgo/types/plugins/ |
Upload File : |
/**
* @typedef RemoveUnknownsAndDefaultsParams
* @property {boolean=} unknownContent
* @property {boolean=} unknownAttrs
* @property {boolean=} defaultAttrs
* @property {boolean=} defaultMarkupDeclarations
* If to remove XML declarations that are assigned their default value. XML
* declarations are the properties in the `<?xml … ?>` block at the top of the
* document.
* @property {boolean=} uselessOverrides
* @property {boolean=} keepDataAttrs
* @property {boolean=} keepAriaAttrs
* @property {boolean=} keepRoleAttr
*/
export const name: "removeUnknownsAndDefaults";
export const description: "removes unknown elements content and attributes, removes attrs with default values";
/**
* Remove unknown elements content and attributes,
* remove attributes with default values.
*
* @author Kir Belevich
*
* @type {import('../lib/types.js').Plugin<RemoveUnknownsAndDefaultsParams>}
*/
export const fn: import("../lib/types.js").Plugin<RemoveUnknownsAndDefaultsParams>;
export type RemoveUnknownsAndDefaultsParams = {
unknownContent?: boolean | undefined;
unknownAttrs?: boolean | undefined;
defaultAttrs?: boolean | undefined;
/**
* If to remove XML declarations that are assigned their default value. XML
* declarations are the properties in the `<?xml … ?>` block at the top of the
* document.
*/
defaultMarkupDeclarations?: boolean | undefined;
uselessOverrides?: boolean | undefined;
keepDataAttrs?: boolean | undefined;
keepAriaAttrs?: boolean | undefined;
keepRoleAttr?: boolean | undefined;
};