title: An argument for 'id' was not provided. angular 11
body: <p>I'm trying to create a TS User class with angular. I declared my attributes as shown in the code below, but I'm getting this error.</p>
  <blockquote>
  <p>An argument for 'id' was not provided.</p>
  </blockquote>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>export class User {
  
     private  id: number;
     private  etabName: string;
   
  
    constructor(id: number, etabName: string, ) {
      this.id = id;
      this.etabName = etabName;
     
    }
  
    get _id(): number {
      return this. id;
    }
  
    set _id(value: number) {
      this. id = value;
    }
  
  
  
  }</code></pre>
  </div>
  </div>
  </p>