Installation
npm install --save @types/fuzzaldrin
Summary
This package contains type definitions for fuzzaldrin (https://github.com/atom/fuzzaldrin).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/fuzzaldrin.
index.d.ts
export function filter(candidates: string[], query: string, options?: { maxResults?: number | undefined }): string[];
export function filter<T, K extends keyof T>(
candidates: T[],
query: string & T[K],
options: { key: K; maxResults?: number | undefined },
): T[];
export function match(string: string, query: string): any;
export function score(string: string, query: string): number;
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: none
Credits
These definitions were written by Mohamed Hegazy.