- parse<
T extends
TreeAdapterTypeMap<
unknown,
unknown,
unknown,
unknown,
unknown,
unknown,
unknown,
unknown,
unknown,
unknown,
> = DefaultTreeAdapterMap,
>(
html: string,
options?: ParserOptions<T>,
): T["document"] Type Parameters
- T extends TreeAdapterTypeMap<
unknown,
unknown,
unknown,
unknown,
unknown,
unknown,
unknown,
unknown,
unknown,
unknown,
> = DefaultTreeAdapterMap
Returns T["document"]
Document
Parses an HTML string.