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

type-plus

Package Overview
Dependencies
Maintainers
1
Versions
169
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

type-plus - npm Package Compare versions

Comparing version 1.5.0 to 1.6.0

lib/Required.d.ts

2

lib/index.d.ts

@@ -10,1 +10,3 @@ export * from './filterKey';

export * from './reduceKey';
export * from './Required';
export * from './ValueOf';

2

package.json
{
"name": "type-plus",
"description": "Provides additional types for `typescript`.",
"version": "1.5.0",
"version": "1.6.0",
"homepage": "https://github.com/unional/type-plus",

@@ -6,0 +6,0 @@ "bugs": {

@@ -62,2 +62,10 @@ # type-plus

### `RequiredPick<T, U>`
Makes the properties specified in `U` becomes required.
### `RequiredExcept<T, U>`
Makes the properties not specified in `U` becomes required.
### `ValueOf<T>`

@@ -64,0 +72,0 @@

@@ -10,1 +10,3 @@ export * from './filterKey';

export * from './reduceKey';
export * from './Required';
export * from './ValueOf'
export function excludeUndefined<T>(actual: T): Exclude<T, undefined> { return actual as any }
export function acceptNoUndefined<T>(actual: Exclude<T, undefined>) { return actual }
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