@waiting/shared-types
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -5,2 +5,9 @@ # Changelog | ||
## [1.1.0](https://github.com/waitingsong/shared-types/compare/v1.0.0...v1.1.0) (2019-09-29) | ||
### Features | ||
* update type JsonResp ([c649b82](https://github.com/waitingsong/shared-types/commit/c649b82)) | ||
## 1.0.0 (2019-08-28) | ||
@@ -7,0 +14,0 @@ |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* @version 1.0.0 | ||
* @version 1.1.0 | ||
* @author waiting | ||
@@ -8,0 +8,0 @@ * @license MIT |
@@ -11,3 +11,3 @@ /** Value of key-value pairs object */ | ||
/** Custom response json data structure */ | ||
export interface JsonResp<T extends JsonType | PlainJsonValue = JsonType> extends JsonType { | ||
export interface JsonResp<T extends JsonType | PlainJsonValue | PlainJsonValue[] | JsonType[] = JsonType> extends JsonType { | ||
/** 0: no error */ | ||
@@ -14,0 +14,0 @@ err: number; |
{ | ||
"name": "@waiting/shared-types", | ||
"author": "waiting", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "shared typescript types", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
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
8584