diff --git a/packages/html/index.ts b/packages/html/index.ts index fcf99a46df3f..9c71f4eec8db 100644 --- a/packages/html/index.ts +++ b/packages/html/index.ts @@ -16,10 +16,13 @@ export type Options = { | "only-metadata"; removeEmptyMetadataElements?: boolean; removeComments?: boolean; - preserveComments: string[]; + preserveComments?: string[]; minifyConditionalComments?: boolean; removeEmptyAttributes?: boolean; - removeRedundantAttributes?: boolean; + removeRedundantAttributes?: + | "none" + | "all" + | "smart"; collapseBooleanAttributes?: boolean; normalizeAttributes?: boolean; minifyJson?: boolean | { pretty?: boolean };