We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d3b5d6 commit 3f8a84eCopy full SHA for 3f8a84e
src/index.ts
@@ -449,7 +449,7 @@ class Index extends MeiliAxiosWrapper implements Types.IndexInterface {
449
* @memberof Index
450
* @method getDistinctAttribute
451
*/
452
- async getDistinctAttribute(): Promise<string | void> {
+ async getDistinctAttribute(): Promise<string | null> {
453
const url = `/indexes/${this.uid}/settings/distinct-attribute`
454
455
return await this.get(url)
0 commit comments