Projektstart

This commit is contained in:
2026-01-22 15:49:12 +01:00
parent 7212eb6f7a
commit 57e5f652f8
10637 changed files with 2598792 additions and 64 deletions

33
backend/node_modules/mnemonist/fuzzy-map.d.ts generated vendored Normal file
View File

@@ -0,0 +1,33 @@
/**
* Mnemonist FuzzyMap Typings
* ==========================
*/
type HashFunction<K> = (key: any) => K;
type HashFunctionsTuple<K> = [HashFunction<K>, HashFunction<K>];
export default class FuzzyMap<K, V> implements Iterable<V> {
// Members
size: number;
// Constructor
constructor(hashFunction: HashFunction<K>);
constructor(hashFunctionsTuple: HashFunctionsTuple<K>);
// Methods
clear(): void;
add(key: V): this;
set(key: K, value: V): this;
get(key: any): V | undefined;
has(key: any): boolean;
forEach(callback: (value: V, key: V) => void, scope?: this): void;
values(): IterableIterator<V>;
[Symbol.iterator](): IterableIterator<V>;
inspect(): any;
// Statics
static from<I, J>(
iterable: Iterable<[I, J]> | {[key: string]: J},
hashFunction: HashFunction<I> | HashFunctionsTuple<I>,
): FuzzyMap<I, J>;
}