mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 04:49:15 +08:00
added empty module to string_score
This commit is contained in:
5
string_score/string_score.d.ts
vendored
5
string_score/string_score.d.ts
vendored
@@ -3,6 +3,11 @@
|
||||
// Definitions by: Marcin Porębski <https://github.com/marcinporebski/>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
declare module "string_score"
|
||||
{
|
||||
// nothing here as it's only extending the build in String class
|
||||
}
|
||||
|
||||
interface String {
|
||||
score: (word: string, fuzzy?: number) => number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user