Comparing version 1.2.35 to 1.2.36
@@ -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 @@ |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
241521
531