Skip to content

Commit 3f8a84e

Browse files
committed
Removed null from signatures
1 parent 0d3b5d6 commit 3f8a84e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ class Index extends MeiliAxiosWrapper implements Types.IndexInterface {
449449
* @memberof Index
450450
* @method getDistinctAttribute
451451
*/
452-
async getDistinctAttribute(): Promise<string | void> {
452+
async getDistinctAttribute(): Promise<string | null> {
453453
const url = `/indexes/${this.uid}/settings/distinct-attribute`
454454

455455
return await this.get(url)

0 commit comments

Comments
 (0)