@waiting/shared-types
Advanced tools
Comparing version 4.6.0 to 4.6.1
@@ -6,2 +6,13 @@ # Change Log | ||
## [4.6.1](https://github.com/waitingsong/shared-types/compare/v4.6.0...v4.6.1) (2020-07-11) | ||
### Performance Improvements | ||
* **types:** update FormatIntersect ([da57cbe](https://github.com/waitingsong/shared-types/commit/da57cbeec206b9f0b68e9dfc54f8cd6c6e48d46b)) | ||
# [4.6.0](https://github.com/waitingsong/shared-types/compare/v4.5.0...v4.6.0) (2020-07-10) | ||
@@ -8,0 +19,0 @@ |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* @version 4.5.0 | ||
* @version 4.6.0 | ||
* @author waiting | ||
@@ -8,0 +8,0 @@ * @license MIT |
@@ -93,5 +93,5 @@ /** | ||
*/ | ||
export declare type FormatIntersect<T> = T extends object ? T extends any[] | number | string | boolean | Function ? T : { | ||
export declare type FormatIntersect<T> = T extends Record<string | number, any> ? T extends any[] | Function ? T : { | ||
[K in keyof T]: T[K]; | ||
} : T; | ||
export {}; |
{ | ||
"name": "@waiting/shared-types", | ||
"author": "waiting", | ||
"version": "4.6.0", | ||
"version": "4.6.1", | ||
"description": "shared typescript types", | ||
@@ -74,3 +74,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "dc59254601103d77edbb35c546d483fdbec99d54" | ||
"gitHead": "9c044dcd942b6748ae97cc159d4069a72660c111" | ||
} |
19962