Skip to content

Commit b3e4308

Browse files
committed
typing
1 parent 1099870 commit b3e4308

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/textual_dev/previews/colors.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@
33
from textual.color import Color
44
from textual.containers import Horizontal, Vertical, VerticalScroll
55
from textual.design import ColorSystem
6+
from textual.widget import Widget
67
from textual.widgets import Button, Footer, Label, Static, TabbedContent
78

89
try:
910
from textual.lazy import Lazy
1011
except ImportError:
1112

12-
def Lazy(widget):
13+
def Lazy(widget: Widget) -> Widget:
1314
return widget
1415

1516

0 commit comments

Comments
 (0)