mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
fixed more mistypings related to arrays vs tuples (#23172)
This commit is contained in:
Vendored
+3
-3
@@ -701,7 +701,7 @@ declare namespace algoliasearch {
|
||||
* return {Promise}
|
||||
* https://github.com/algolia/algoliasearch-client-js#add-objects---addobjects
|
||||
*/
|
||||
addObjects(objects: [{}]): Promise<any>;
|
||||
addObjects(objects: {}[]): Promise<any>;
|
||||
/**
|
||||
* Add or replace a specific object
|
||||
* @param object
|
||||
@@ -729,7 +729,7 @@ declare namespace algoliasearch {
|
||||
* return {Promise}
|
||||
* https://github.com/algolia/algoliasearch-client-js#update-objects---saveobjects
|
||||
*/
|
||||
partialUpdateObjects(objects: [{}]): Promise<any>;
|
||||
partialUpdateObjects(objects: {}[]): Promise<any>;
|
||||
/**
|
||||
* Delete a specific object
|
||||
* @param objectID
|
||||
@@ -1602,7 +1602,7 @@ Interface describing options available for gettings the logs
|
||||
* default: []
|
||||
* https://github.com/algolia/algoliasearch-client-js#altcorrections
|
||||
*/
|
||||
altCorrections?: [{}];
|
||||
altCorrections?: {}[];
|
||||
/**
|
||||
* Configure the precision of the proximity ranking criterion
|
||||
* default: 1
|
||||
|
||||
Reference in New Issue
Block a user