diff --git a/src/textual/visual.py b/src/textual/visual.py index 0e01646636..88a17ca7bf 100644 --- a/src/textual/visual.py +++ b/src/textual/visual.py @@ -46,7 +46,7 @@ class VisualError(Exception): """An error with the visual protocol.""" -VisualType: TypeAlias = RenderableType | SupportsTextualize | "Visual" +VisualType: TypeAlias = "RenderableType | SupportsTextualize | Visual" def visualize(widget: Widget, obj: object) -> Visual: