Use Generic to set precise type for InputDevice.path
This means that dev.path is correctly set to `str` or `bytes`, rather than `str | bytes` or the current `str | bytes | Any`.
Fixes my last typing errors:
https://github.com/Dreamsorcerer/bthidhub/actions/runs/13876066841/job/38828521235?pr=29#step:6:15
合并状态:已合并 合并于 2025-05-01 关闭于 2025-05-01 0 条评论