2.1.7 • Published 6 months ago

@types/fuzzaldrin v2.1.7

Weekly downloads
2,033
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for fuzzaldrin 2.1
// Project: https://github.com/atom/fuzzaldrin
// Definitions by: Mohamed Hegazy <https://github.com/mhegazy>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1

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: Thu, 08 Jul 2021 12:01:56 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Mohamed Hegazy.