title: Typescript create anonymous objects
body: <p>I want to create a hierarchy of nested objects in typescript that looks like the following</p>
  
  <pre><code>snapshot{
     profile{
        data{
           firstName = 'a'
           lastName = 'aa'
        }
     }
  } 
  </code></pre>
  
  <p>I dont want to create a class structure, just want to create the nested hierarchy of objects thats all.</p>