## The problem
Issue algolia/algoliasearch-client-javascript#1562 (closed, 13 comments): ### Description In `5.9.0` (migrating from `5.8.1`), types are broken for `algoliasearch`. From my quick investigation, the package references types from `@algolia/client-search`, however this is not a dependency of `algoliasearch` and causes TypeScript to return `any`. Other types that were previously accessible, like `SearchResponses` are no longer available. ```ts algoliasearch(appId: string, apiKey value [redacted] options?: any): any ``` ### Client All ### Version 5.9.0 ### Relevant log output _No response_

## The fix
The algoliasearch release that broke TypeScript types (re-exported types going missing in dependent packages) was fixed in 5.10.2. Upgrade to 5.10.2+.

## Notes
Thread: https://github.com/algolia/algoliasearch-client-javascript/issues/1562. Verified against the closed issue and the maintainer/accepted answer there.