Is there an easy way to change one value in a nested json data with TypeScript?

前端 未结 0 1326
野的像风
野的像风 2021-01-20 16:54

TypeScript version: ^3.5.3

For this json

const config = {
  id: 1,
  title: "A good day",
  body: "Very detailed stories"
  publish         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题