AI types breaking change in BaseAiSpeechRecognition
#3357
Labels
types
Related to @cloudflare/workers-types
BaseAiSpeechRecognition
#3357
Hi 👋,
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/ )
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 newBaseAiAutomaticSpeechRecognition
(also the Input and Output types for this category).The text was updated successfully, but these errors were encountered: