Skip to content

Commit

Permalink
Fix: Interface name spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
ashvardanian committed Nov 18, 2024
1 parent e1a85cc commit c6c75de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions javascript/usearch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ function normalizeVectors(
return flattenedVectors;
}

export interface IndexCongif {
export interface IndexConfig {
dimensions: number;
metric: MetricKind;
quantization: ScalarKind;
Expand All @@ -227,7 +227,7 @@ export class Index {
* @throws Will throw an error if any of the parameters are of incorrect type or invalid value.
*/
constructor(
dimensionsOrConfigs: number | bigint | IndexCongif,
dimensionsOrConfigs: number | bigint | IndexConfig,
metric: MetricKind = MetricKind.Cos,
quantization: ScalarKind = ScalarKind.F32,
connectivity: number = 0,
Expand Down

0 comments on commit c6c75de

Please sign in to comment.