title: Typescript - making property as public in destructuring constructors
body: <p>Is there a way to make property as public in Destructuring for constructors?</p>
  
  <p>Supposed to be there are many properties in Person Class.</p>
  
  <p>Instead of </p>
  
  <pre><code>// to create a Person. new Person('')
  class Person {
      constructor(public name: string) {
  
      }
  }
  </code></pre>
  
  <p>I want to use destructuring to pass object as constructor parameter and make properties as public.</p>
  
  <pre><code>//new Person({name: ''})
  class Person {
      constructor({
          public name: string //Is there a workaround here?
      }) {
  
      }
  }
  </code></pre>
  
  <p>Is there a workaround here?</p>