i hate unions
This commit is contained in:
parent
cb70b7b82b
commit
b90ad9fb55
@ -1424,4 +1424,4 @@ P = ParamSpec("P")
|
|||||||
|
|
||||||
IndividualEventType = Union[EventSpec, EventHandler, Callable[P, Any], Var]
|
IndividualEventType = Union[EventSpec, EventHandler, Callable[P, Any], Var]
|
||||||
|
|
||||||
EventType = IndividualEventType[P] | List[IndividualEventType[P]]
|
EventType = Union[IndividualEventType[P], List[IndividualEventType[P]]]
|
||||||
|
Loading…
Reference in New Issue
Block a user