Skip to content

Commit d78afdb

Browse files
authored
Better type hint
1 parent 16285ff commit d78afdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/idom/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ class HTMLParseError(etree.LxmlSyntaxError): # type: ignore[misc]
210210
"""Raised when an HTML document cannot be parsed using strict parsing."""
211211

212212

213-
def del_html_body_transform(vdom: dict[str, Any]) -> dict[str, Any]:
213+
def del_html_body_transform(vdom: VdomDict) -> VdomDict:
214214
"""Transform intended for use with `html_to_vdom`.
215215
216216
Removes `<html>`, `<head>`, and `<body>` while preserving `<head>` and `<body>` children.

0 commit comments

Comments
 (0)