This commit is contained in:
Will McGugan
2023-02-14 17:42:18 +00:00
parent 39cab0f89c
commit bbafabc41e

View File

@@ -464,7 +464,7 @@ class Markdown(Widget):
self, table_of_contents: TableOfContentsType, *, sender: Widget
) -> None:
super().__init__(sender=sender)
self.table_of_contents = table_of_contents
self.table_of_contents: TableOfContentsType = table_of_contents
"""Table of contents."""
class TableOfContentsSelected(Message, bubble=True):