mirror of
https://github.com/Xevion/xevion.dev.git
synced 2026-01-31 08:26:41 -06:00
- 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
23 lines
679 B
TypeScript
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;
|
|
}
|