@types/didyoumean
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -1,7 +0,1 @@ | ||
// Type definitions for didyoumean 1.2 | ||
// Project: https://github.com/dcporter/didyoumean.js | ||
// Definitions by: James George <https://github.com/jamesgeorge007> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 2.7 | ||
export = didYouMean; | ||
@@ -8,0 +2,0 @@ |
{ | ||
"name": "@types/didyoumean", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "TypeScript definitions for didyoumean", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/didyoumean", | ||
"license": "MIT", | ||
@@ -9,8 +10,8 @@ "contributors": [ | ||
"name": "James George", | ||
"url": "https://github.com/jamesgeorge007", | ||
"githubUsername": "jamesgeorge007" | ||
"githubUsername": "jamesgeorge007", | ||
"url": "https://github.com/jamesgeorge007" | ||
} | ||
], | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
@@ -23,4 +24,4 @@ "type": "git", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "06408b856ff2edba66f284420a7e9c3c08e7292fbfcdc07e6439797a4b02ff96", | ||
"typeScriptVersion": "2.7" | ||
"typesPublisherContentHash": "571c511ed7d2da9a1301ebc64184afbaf44c841f31fa47076e1d4a92e0130598", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -5,13 +5,33 @@ # Installation | ||
# Summary | ||
This package contains type definitions for didyoumean ( https://github.com/dcporter/didyoumean.js ). | ||
This package contains type definitions for didyoumean (https://github.com/dcporter/didyoumean.js). | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/didyoumean | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/didyoumean. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/didyoumean/index.d.ts) | ||
````ts | ||
export = didYouMean; | ||
Additional Details | ||
* Last updated: Thu, 06 Jun 2019 18:33:21 GMT | ||
declare function didYouMean(str: string, list: string[], key?: string): string | string[]; | ||
declare namespace didYouMean { | ||
let caseSensitive: boolean; | ||
let nullResultValue: any; | ||
let returnFirstMatch: boolean; | ||
let returnWinningObject: boolean; | ||
let threshold: number; | ||
let thresholdAbsolute: number; | ||
} | ||
```` | ||
### Additional Details | ||
* Last updated: Wed, 18 Oct 2023 00:05:18 GMT | ||
* Dependencies: none | ||
* Global values: none | ||
# Credits | ||
These definitions were written by James George <https://github.com/jamesgeorge007>. | ||
These definitions were written by [James George](https://github.com/jamesgeorge007). |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
3261
0
37
10
1