@types/didyoumean
Advanced tools
Comparing version 1.2.2 to 1.2.3
export = didYouMean; | ||
declare function didYouMean(str: string, list: string[], key?: string): string | string[]; | ||
declare function didYouMean(str: string, list: string[] | Array<Record<string, string>>, key?: string): string | null; | ||
declare namespace didYouMean { | ||
let caseSensitive: boolean; | ||
let nullResultValue: any; | ||
let returnFirstMatch: boolean; | ||
let returnWinningObject: boolean; | ||
let threshold: number; | ||
let thresholdAbsolute: number; | ||
let returnWinningObject: boolean | null; | ||
let threshold: number | null; | ||
let thresholdAbsolute: number | null; | ||
} |
{ | ||
"name": "@types/didyoumean", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "TypeScript definitions for didyoumean", | ||
@@ -23,4 +23,5 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/didyoumean", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "94da3f7273956a746197ba6a8538e52c65d633b26a55b52ba5bbb43e16eb4757", | ||
"typeScriptVersion": "4.5" | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "b8c947c6029844e6c9d40b0ccaeaa65017d1f427b17a796e80c651687ab467fc", | ||
"typeScriptVersion": "4.9" | ||
} |
@@ -13,16 +13,11 @@ # Installation | ||
declare function didYouMean(str: string, list: string[], key?: string): string | string[]; | ||
declare function didYouMean(str: string, list: string[] | Array<Record<string, string>>, key?: string): string | null; | ||
declare namespace didYouMean { | ||
let caseSensitive: boolean; | ||
let nullResultValue: any; | ||
let returnFirstMatch: boolean; | ||
let returnWinningObject: boolean; | ||
let threshold: number; | ||
let thresholdAbsolute: number; | ||
let returnWinningObject: boolean | null; | ||
let threshold: number | null; | ||
let thresholdAbsolute: number | null; | ||
} | ||
@@ -33,3 +28,3 @@ | ||
### Additional Details | ||
* Last updated: Mon, 06 Nov 2023 22:41:05 GMT | ||
* Last updated: Mon, 11 Nov 2024 12:43:54 GMT | ||
* Dependencies: none | ||
@@ -36,0 +31,0 @@ |
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
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
3377
32