Skip to content

Commit

Permalink
update jsdocs
Browse files Browse the repository at this point in the history
  • Loading branch information
fahreddinozcan committed May 22, 2024
1 parent 6aaa6b6 commit a86b857
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/commands/client/namespace/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export class Namespace<TIndexMetadata extends Dict = Dict> {
* @param {number[]} args.vector - The feature vector associated with the item.
* @param {Record<string, unknown>} [args.metadata] - Optional metadata to be associated with the item.
*
* @returns {string} A promise that resolves with the result of the update operation after the command is executed.
* @returns {Promise<{updated: number}>} A promise that resolves with the result of the update operation after the command is executed.
*/
update = <TMetadata extends Dict = TIndexMetadata>(
args: CommandArgs<typeof UpdateCommand<TMetadata>>
Expand Down
2 changes: 1 addition & 1 deletion src/vector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export class Index<TIndexMetadata extends Dict = Dict> {
* @param {Record<string, unknown>} [args.metadata] - Optional metadata to be associated with the item.
* @param {string} [args.namespace] - The namespace to update the item in.
*
* @returns {string} A promise that resolves with the result of the update operation after the command is executed.
* @returns {Promise<{updated: number}>} A promise that resolves with the result of the update operation after the command is executed.
*/
update = <TMetadata extends Dict = TIndexMetadata>(
args: CommandArgs<typeof UpdateCommand<TMetadata>>,
Expand Down

0 comments on commit a86b857

Please sign in to comment.