We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We have a Next.js/DatoCMS site with TypeScript, in the process of adding Algolia search.
Following this guide, which provides a JS code example: https://www.datocms.com/blog/algolia-nextjs-how-to-add-algolia-instantsearch#build-a-next-js-api-to-upload-your-data-to-your-algolia-index
When converted to TypeScript, TS says that SearchIndex does not have a property named saveObjects.
SearchIndex
saveObjects
Reproduced here: https://stackblitz.com/edit/vitejs-vite-w8v8abc6?file=src%2Falgolia-sync.ts
All
4.14.2
Property 'saveObjects' does not exist on type 'SearchIndex'.(2339)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
We have a Next.js/DatoCMS site with TypeScript, in the process of adding Algolia search.
Following this guide, which provides a JS code example: https://www.datocms.com/blog/algolia-nextjs-how-to-add-algolia-instantsearch#build-a-next-js-api-to-upload-your-data-to-your-algolia-index
When converted to TypeScript, TS says that
SearchIndex
does not have a property namedsaveObjects
.Reproduced here: https://stackblitz.com/edit/vitejs-vite-w8v8abc6?file=src%2Falgolia-sync.ts
Client
All
Version
4.14.2
Relevant log output
The text was updated successfully, but these errors were encountered: