Installation
npm install --save @types/string_score
Summary
This package contains type definitions for string_score (https://github.com/joshaven/string_score).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/string_score.
index.d.ts
declare module "string_score" {
// nothing here as it's only extending the build in String class
}
interface String {
score: (word: string, fuzzy?: number) => number;
}
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: none
Credits
These definitions were written by Marcin Porębski.