馃崑 Fix for Python < 3.14
This patch fixes a bug with type annotations that made it impossible to import TorchJD when installed without numpy on Python versions older than 3.14.
Changelog
Fixed
- Fixed a bug with type annotations making it impossible to use TorchJD without any optional dependencies on Python versions older than 3.14.