[ONNX] Fix type annotation for 'fx_to_onnxscript' (#100050)
Curious why it wasn't caught by linter and beartype.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/100050
Approved by: https://github.com/titaiwangms, https://github.com/justinchuby