We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1a85cc commit c6c75deCopy full SHA for c6c75de
javascript/usearch.ts
@@ -203,7 +203,7 @@ function normalizeVectors(
203
return flattenedVectors;
204
}
205
206
-export interface IndexCongif {
+export interface IndexConfig {
207
dimensions: number;
208
metric: MetricKind;
209
quantization: ScalarKind;
@@ -227,7 +227,7 @@ export class Index {
227
* @throws Will throw an error if any of the parameters are of incorrect type or invalid value.
228
*/
229
constructor(
230
- dimensionsOrConfigs: number | bigint | IndexCongif,
+ dimensionsOrConfigs: number | bigint | IndexConfig,
231
metric: MetricKind = MetricKind.Cos,
232
quantization: ScalarKind = ScalarKind.F32,
233
connectivity: number = 0,
0 commit comments