mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +08:00
added empty module to string_score
This commit is contained in:
1 parent
5b010131f1
commit
e78260ef9b
1 file changed
+5
Vendored
+5
@@ -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