Function: makeObject()
makeObject(
path
:string
,value
:unknown
,obj
:Record
<string
,unknown
>):Record
<string
,unknown
>
Turn a dotted path into a json object.
Parameters
Parameter | Type | Description |
---|---|---|
path | string | The dotted path |
value | unknown | The value |
obj | Record <string , unknown > | The object to edit |
Returns
Record
<string
, unknown
>