Cannot access nested JSON Object key : value in Typescript

后端 未结 0 729
心在旅途
心在旅途 2020-12-17 04:00

When I assign a TypeScript object to a key (temp) of a nested JSON object (main):

weatherToday : any;

getTheWeather(city : String)
  {
    console.log("         


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