Skip to content

Commit c6c75de

Browse files
committed
Fix: Interface name spelling
1 parent e1a85cc commit c6c75de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

javascript/usearch.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ function normalizeVectors(
203203
return flattenedVectors;
204204
}
205205

206-
export interface IndexCongif {
206+
export interface IndexConfig {
207207
dimensions: number;
208208
metric: MetricKind;
209209
quantization: ScalarKind;
@@ -227,7 +227,7 @@ export class Index {
227227
* @throws Will throw an error if any of the parameters are of incorrect type or invalid value.
228228
*/
229229
constructor(
230-
dimensionsOrConfigs: number | bigint | IndexCongif,
230+
dimensionsOrConfigs: number | bigint | IndexConfig,
231231
metric: MetricKind = MetricKind.Cos,
232232
quantization: ScalarKind = ScalarKind.F32,
233233
connectivity: number = 0,

0 commit comments

Comments
 (0)