@thisisagile/easy
Advanced tools
Comparing version 1.3.4 to 1.3.5
@@ -5,1 +5,2 @@ export declare type JsonValue = string | number | boolean | null | Json | JsonValue[]; | ||
}; | ||
export declare const jsonify: (subject?: unknown, additional?: Json) => Json; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.jsonify = void 0; | ||
exports.jsonify = (subject = {}, additional) => ({ ...(JSON.parse(JSON.stringify(subject))), ...additional }); | ||
//# sourceMappingURL=Json.js.map |
{ | ||
"name": "@thisisagile/easy", | ||
"version": "1.3.4", | ||
"version": "1.3.5", | ||
"description": "Straightforward library for building domain-driven microservice architectures", | ||
@@ -5,0 +5,0 @@ "author": "Sander Hoogendoorn", |
export type JsonValue = string | number | boolean | null | Json | JsonValue[]; | ||
export type Json = { [key: string]: JsonValue }; | ||
export const jsonify = (subject: unknown = {}, additional?: Json): Json => | ||
({ ...(JSON.parse(JSON.stringify(subject))), ...additional }); |
Sorry, the diff of this file is not supported yet
64541
925