1.2.3 • Published 7 months ago
@types/similarity v1.2.3
Installation
npm install --save @types/similarity
Summary
This package contains type definitions for similarity (https://github.com/words/similarity).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/similarity.
index.d.ts
// Type definitions for similarity 1.2
// Project: https://github.com/words/similarity
// Definitions by: Christian Murphy <https://github.com/ChristianMurphy>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Project by: Titus Wormer <https://github.com/wooorm>
// TypeScript Version: 2.0
declare namespace similarity {
interface Options {
/**
* treat casing differences as differences
*/
sensitive?: boolean | undefined;
}
}
declare function similarity(left: string, right: string, options?: similarity.Options): number;
export = similarity;
Additional Details
- Last updated: Tue, 06 Jul 2021 16:34:48 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by Christian Murphy.