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

ts-type

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-type - npm Package Compare versions

Comparing version 1.2.35 to 1.2.36

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## [1.2.36](https://github.com/bluelovers/ws-ts-type/compare/ts-type@1.2.35...ts-type@1.2.36) (2021-07-16)
### ✨ Features
* update `ITSValueOfArray<T>` ([8b0138b](https://github.com/bluelovers/ws-ts-type/commit/8b0138b027b7ebe7ccd9df1d4989a1918b08a95f))
## [1.2.35](https://github.com/bluelovers/ws-ts-type/compare/ts-type@1.2.34...ts-type@1.2.35) (2021-06-15)

@@ -8,0 +19,0 @@

3

lib/helper.d.ts

@@ -21,2 +21,3 @@ import { ITSArrayListMaybeReadonly } from './type/base';

export declare type ITSKeyOfArray<T extends ITSArrayListMaybeReadonly<any>> = Exclude<keyof T, symbol | string>;
export declare type ITSValueOfArray<T extends ITSArrayListMaybeReadonly<any>> = T[ITSKeyOfArray<T>];
export declare type ITSValueOfArray<T extends ITSArrayListMaybeReadonly<any>> = T extends (infer U)[] ? U : never;
export declare type ITSValueOfRecord<T extends Record<any, any>> = T[keyof T];
{
"name": "ts-type",
"version": "1.2.35",
"version": "1.2.36",
"description": "add some typescript type and re-export some build-in typescript type",

@@ -64,3 +64,3 @@ "keywords": [

},
"gitHead": "c8058ff03d2395cde1b2cf2cddc156b76f37c52c"
"gitHead": "a697b60f17669edb304258b475ff01fed302d305"
}

Sorry, the diff of this file is not supported yet

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