Files
xevion.dev/web/src/html-minifier-terser.d.ts
Xevion b3dd1954d3 refactor: formatting and accessibility improvements across admin components
- Enforce consistent code formatting via ESLint rules
- Add accessibility enhancements (input IDs, labels, ARIA attributes)
- Replace Svelte store initialization patterns with reactive $effect
- Use $derived for reactive computed values
- Update error-codes and og-types indentation to spaces
- Add TypeScript definitions for html-minifier-terser
- Use resolve() for internal links in error and login pages
2026-01-06 14:39:21 -06:00

23 lines
679 B
TypeScript

declare module "html-minifier-terser" {
export interface Options {
collapseBooleanAttributes?: boolean;
collapseWhitespace?: boolean;
conservativeCollapse?: boolean;
decodeEntities?: boolean;
html5?: boolean;
ignoreCustomComments?: RegExp[];
minifyCSS?: boolean;
minifyJS?: boolean;
removeAttributeQuotes?: boolean;
removeComments?: boolean;
removeOptionalTags?: boolean;
removeRedundantAttributes?: boolean;
removeScriptTypeAttributes?: boolean;
removeStyleLinkTypeAttributes?: boolean;
sortAttributes?: boolean;
sortClassName?: boolean;
}
export function minify(html: string, options?: Options): string;
}