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

types-ramda

Package Overview
Dependencies
Maintainers
1
Versions
16
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.1.0 to 0.2.0

24

es/tools.d.ts

@@ -34,11 +34,2 @@ import { A, M } from 'ts-toolbelt';

/**
* Dictionary
* @deprecated use typescript utils `Record<>` instead
* @param A The type of dictionary values
*/
export interface Dictionary<A> {
[index: string]: A;
}
/**
* Represents all objects evolvable with Evolver E

@@ -338,2 +329,17 @@ * @param E

/**
* An object with at least one of its properties beeing of type `Key`.
*
* @example
* ```
* // $ExpectType { foo: unknown } | { bar: unknown }
* type Foo = ObjectHavingSome<"foo" | "bar">
* ```
*/
// Implementation taken from
// https://github.com/piotrwitek/utility-types/blob/df2502ef504c4ba8bd9de81a45baef112b7921d0/src/mapped-types.ts#L351-L362
export type ObjectHavingSome<Key extends string> = {
[K in Key]: { [P in K]: unknown };
}[Key];
/**
* <needs description>

@@ -340,0 +346,0 @@ */

{
"name": "types-ramda",
"version": "0.1.0",
"version": "0.2.0",
"description": "Dedicated types library for ramda",

@@ -5,0 +5,0 @@ "author": "Harris Miller <harrismillerconsulting@gmail.com>",

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