cloudflare / cloudflare/workerd
AI types breaking change in `BaseAiSpeechRecognition`
- Dominant language
- C++
- Stars
- 8.7k
- Forks
- 739
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 174
Description
Hi :wave:,
When updating workers-types from 4.20241205.0 to 4.20250109.0 I got a few type errors about AI types.
The one that I consider to be a breaking change (and a dangerous precedent), happened 4.20241218.0 -> 4.20241224.0 (see diff here [https://npmdiff.dev/%40cloudflare%2Fworkers-types/4.20241218.0/4.20241224.0/](https://npmdiff.dev/%40cloudflare%2Fworkers-types/4.20241218.0/4.20241224.0/) )

As a user who depended on the exported type `BaseAiSpeechRecognition`, this now broke our types in every worker where it was used. I suggest reintroducing it as an alias for the new `BaseAiAutomaticSpeechRecognition` (also the Input and Output types for this category).
Contributor guide
Assessment
This issue has not been assessed yet.