Skip to content

Commit 82e4f07

Browse files
authored
fix(typing): Add missing generic parameter
1 parent b8fccd4 commit 82e4f07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/textual/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ class MyApp(App[None]):
310310
...
311311
```
312312
"""
313-
SCREENS: ClassVar[dict[str, Screen | Callable[[], Screen]]] = {}
313+
SCREENS: ClassVar[dict[str, Screen[Any] | Callable[[], Screen[Any]]]] = {}
314314
"""Screens associated with the app for the lifetime of the app."""
315315

316316
AUTO_FOCUS: ClassVar[str | None] = "*"

0 commit comments

Comments
 (0)