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.23.0 to 1.23.1

2

package.json
{
"name": "type-plus",
"version": "1.23.0",
"version": "1.23.1",
"description": "Provides additional types for `typescript`.",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/unional/type-plus",

@@ -50,3 +50,3 @@ # type-plus

- `PromiseValue<P>`: Gets the type within the Promise.
- `mapSeries()`: Similar to `bluebird.mapSeries()` but works with `async`/`await`
- `mapSeries()`: Similar to `bluebird.mapSeries()` but works with `async`/`await`.

@@ -61,4 +61,5 @@ ### Nominal Type

- `Except<T, K>`: From `T`, pick a set of properties whose keys are not in the union `K`. This is the opposite of `Pick<T, K>`
- `Except<T, K>`: Deprecated. Same as `Omit<T, K>`.
- `ExcludePropType<T, U>`: excludes type `U` from properties in `T`.
- `Omit<T, K>`: From `T`, pick a set of properties whose keys are not in the union `K`. This is the opposite of `Pick<T, K>`.
- `PartialPick<T, U>`: makes the properties specified in `U` becomes optional.

@@ -72,3 +73,3 @@ - `PartialExcept<T, U>`: makes the properties not specified in `U` becomes optional.

- `ValueOf<T>`: type of the value of the properties of `T`.
- PropType: ...no helper type for this. Just do `YourType['propName']`
- PropType: ...no helper type for this. Just do `YourType['propName']`.

@@ -75,0 +76,0 @@ ### Type assertion

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