Browse Source

KNOB: add a type annotation for the return value -> None

Diego Queiroz 2 năm trước cách đây
mục cha
commit
97a7dedcd6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      nicegui/elements/knob.py

+ 1 - 1
nicegui/elements/knob.py

@@ -16,7 +16,7 @@ class Knob(Element):
         icon_name: Union[str, None] = None,
         icon_color: str = 'black',
         icon_size: str = '1rem',
-    ):
+    ) -> None:
         """Knob
 
         This element is based on Quasar's `QKnob <https://quasar.dev/vue-components/knob>`_ component.