Comparing version 4.1.0 to 4.2.0
@@ -1,6 +0,7 @@ | ||
export declare type JSONValue = string | number | boolean | null | { | ||
export declare type JSONValue = string | number | boolean | null | JSONObject | JSONValue[]; | ||
export interface JSONObject { | ||
[property: string]: JSONValue; | ||
} | JSONValue[]; | ||
} | ||
export interface JSONSerializable<T extends JSONValue | Record<string, JSONValue | JSONSerializable<any>> | Array<JSONValue | JSONSerializable<any>>> { | ||
toJSON(key: string): T; | ||
} |
{ | ||
"name": "justypes", | ||
"version": "4.1.0", | ||
"version": "4.2.0", | ||
"description": "Dumb types for TypeScript in the real world", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -26,2 +26,3 @@ # justypes | ||
- JSONValue | ||
- JSONObject | ||
- JSONSerializable | ||
@@ -28,0 +29,0 @@ - NonEmptyArray |
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
11389
100
38