mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-01 15:50:13 +00:00
fix(algolia): batch has multiple "action"s (#22539)
* fix(algolia): batch has multiple "action"s * chore: increment version
This commit is contained in:
committed by
Mohamed Hegazy
parent
1fef13d890
commit
d1debdf859
6
types/algoliasearch/index.d.ts
vendored
6
types/algoliasearch/index.d.ts
vendored
@@ -1,4 +1,4 @@
|
||||
// Type definitions for algoliasearch-client-js 3.24.6
|
||||
// Type definitions for algoliasearch-client-js 3.24.8
|
||||
// Project: https://github.com/algolia/algoliasearch-client-js
|
||||
// Definitions by: Baptiste Coquelle <https://github.com/cbaptiste>
|
||||
// Haroen Viaene <https://github.com/haroenv>
|
||||
@@ -192,14 +192,14 @@ declare namespace algoliasearch {
|
||||
* @param cb(err, res)
|
||||
* https://github.com/algolia/algoliasearch-client-js#custom-batch---batch
|
||||
*/
|
||||
batch(action: AlgoliaAction, cb: (err: Error, res: any) => void): void;
|
||||
batch(action: AlgoliaAction[], cb: (err: Error, res: any) => void): void;
|
||||
/**
|
||||
* Perform multiple operations with one API call to reduce latency
|
||||
* @param action
|
||||
* return {Promise}
|
||||
* https://github.com/algolia/algoliasearch-client-js#custom-batch---batch
|
||||
*/
|
||||
batch(action: AlgoliaAction): Promise<any>;
|
||||
batch(action: AlgoliaAction[]): Promise<any>;
|
||||
/**
|
||||
* Lists global API Keys
|
||||
* @param cb(err, res)
|
||||
|
||||
Reference in New Issue
Block a user