sdk: fix typing (#938)

This commit is contained in:
Raman Gupta
2023-07-08 12:11:55 -04:00
committed by GitHub
parent 92583e568a
commit 4cef09540b

View File

@@ -1,7 +1,7 @@
from __future__ import annotations
from enum import Enum
from typing import AbstractSet, Any, Callable, Literal
from typing import AbstractSet, Any, Callable, Literal, Union
try:
from typing import TypedDict
except:
@@ -9,7 +9,7 @@ except:
SettingValue = str
EventListener = Callable[[Any, Any, Any], None]
VibratePattern = int | list[int]
VibratePattern = Union[int, list[int]]
class Console: