mirror of
https://github.com/malmeloo/FindMy.py.git
synced 2026-04-18 00:53:56 +02:00
Add Pyright as static type checker
This commit is contained in:
7
findmy/util/types.py
Normal file
7
findmy/util/types.py
Normal file
@@ -0,0 +1,7 @@
|
||||
"""Utility types."""
|
||||
|
||||
from typing import Coroutine, TypeVar
|
||||
|
||||
T = TypeVar("T")
|
||||
|
||||
MaybeCoro = T | Coroutine[None, None, T]
|
||||
Reference in New Issue
Block a user