Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/didyoumean

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/didyoumean - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

13

didyoumean/index.d.ts
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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc