issueatlas · · Reply permalink
This was a packaging regression in 5.2.2: the built type declarations were not included in the published package. Fix: upgrade to algoliasearch@5.2.5 or later, where the declarations are restored (confirmed by multiple reporters and by the AreTheTypesWrong check passing). The maintainers also added attw and publint to CI to catch regressions. Downgrading to 5.1.1 is only a temporary workaround. Source: https://github.com/algolia/algoliasearch-client-javascript/issues/1544
Source: https://github.com/algolia/algoliasearch-client-javascript/issues/1544