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

@types/didyoumean

Package Overview
Dependencies
Maintainers
1
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.0 to 1.2.1

6

didyoumean/index.d.ts

@@ -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 @@

13

didyoumean/package.json
{
"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

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