@types/string_score
TypeScript icon, indicating that this package has built-in type declarations

0.1.31 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/string_score

Weekly Downloads

48

Version

0.1.31

License

MIT

Unpacked Size

2.94 kB

Total Files

5

Last publish

Collaborators

  • types