diff --git a/src/parser/config/config.ts b/src/parser/config/config.ts index f80e8be12..97861a889 100644 --- a/src/parser/config/config.ts +++ b/src/parser/config/config.ts @@ -1,11 +1,11 @@ -interface HTMLParserOptions { +export interface HTMLParserOptions { /** * DOMParser mime type. * If you use the `text/html` parser, it will fix the invalid syntax automatically. * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMParser/parseFromString * @default 'text/html' */ - htmlType?: string; + htmlType?: DOMParserSupportedType; /** * Allow