Skip to content

Commit 87c403c

Browse files
committed
chore: name is string
1 parent bd8f08c commit 87c403c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/operations/search_indexes/create.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export class CreateSearchIndexesOperation extends ModernizedOperation<Document>
4747
}
4848

4949
override handleOk(response: InstanceType<typeof this.SERVER_COMMAND_RESPONSE_TYPE>): string[] {
50-
return super.handleOk(response).indexesCreated.map((val: { name: any }) => val.name);
50+
return super.handleOk(response).indexesCreated.map((val: { name: string }) => val.name);
5151
}
5252

5353
override buildOptions(timeoutContext: TimeoutContext): ServerCommandOptions {

0 commit comments

Comments
 (0)