fix: use optional chaining for window.fetch feature detection
fix: use optional chaining for window.fetch feature detection

Use gapic-generator-typescript v1.2.4.
Committer: da39a3ee5e6b4b0d3255bfef95601890afd80709@alexander-fenster
PiperOrigin-RevId: 343136730

googleapis/googleapis,googleapis/googleapis