Make hid-tools compatible with python 3.9
Turns out that RHEL 9 still ships python 3.9, and relying on 3.10 features is too much of an issue for me.
- rely on
typing_extensions
forTypeAlias
- convert
foo | bar
intoUnion [foo, bar]
Fixes #43 (closed)
Signed-off-by: Benjamin Tissoires benjamin.tissoires@gmail.com
Edited by Benjamin Tissoires