Socket
Socket
Sign inDemoInstall

@types/ramda

Package Overview
Dependencies
Maintainers
1
Versions
240
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/ramda - npm Package Compare versions

Comparing version 0.28.17 to 0.28.18

4

ramda/package.json
{
"name": "@types/ramda",
"version": "0.28.17",
"version": "0.28.18",
"description": "TypeScript definitions for ramda",

@@ -175,4 +175,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ramda",

},
"typesPublisherContentHash": "5d8a57540d774664120dfa0a9df0cedd72aabd82fb66ff4207e6f3ae14a39fde",
"typesPublisherContentHash": "e05d1d6d559bf4ab9d6cf67f250da5742fa543cec08be5a33861be453d1aab8c",
"typeScriptVersion": "4.2"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Wed, 19 Oct 2022 08:02:58 GMT
* Last updated: Thu, 20 Oct 2022 11:03:02 GMT
* Dependencies: [@types/ts-toolbelt](https://npmjs.com/package/@types/ts-toolbelt)

@@ -14,0 +14,0 @@ * Global values: `R`

@@ -579,2 +579,21 @@ import { A, M, O, T } from 'ts-toolbelt';

/**
* Getter of property from any value. Supports objects, arrays, tuples and maybe values
*
* @param T Value type
* @param P Maybe key type
*
* @example
* ```typescript
* type K = Prop<{ x: number } | undefined, 'x'>
* type L = Prop<[1, ...string[]] | undefined, 0>
* type M = Prop<[1, ...string[]] | undefined, 1>
* ```
*
* <created by @anion155>
*/
export type Prop<T, P extends keyof never> = P extends keyof Exclude<T, undefined>
? T extends undefined ? undefined : T[Extract<P, keyof T>]
: undefined;
export {};

Sorry, the diff of this file is too big to display

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