title: Refer to FormBuilder Members in a Strongly Type safe way, instead of strings in Angular 8
body: <p>Is there a way to refer to Formbuilder members names in a strongly type fashion? If form builder names change,  then the get functions below will not notice, and not display any compilation error. This can create issues in program functionality.</p>
  
  <p>Need to refer to formbuilder control members in a clean way.</p>
  
  <pre><code>{
  this.customerForm = this.formBuilder.group({
    'firstName': [null, [Validators.required,Validators.maxLength(50)]],
    'phoneNumber': [null, [Validators.required,Validators.maxLength(50)]],
    'streetName': [null, [Validators.required,Validators.maxLength(50)]],
  
    'emailAddress': [null, [Validators.maxLength(50), Validators.email]],
    'city': [null, [Validators.required, Validators.maxLength(200)]],
    'state': [null, [Validators.maxLength(200)]],
    'zip':[null,[Validators.maxLength(200)]]
  });
  </code></pre>
  
  <p>}</p>
  
  <p>Referring to  formbuilder member names through a string, which will not flag an error if component changes.</p>
  
  <pre><code>  this.customerForm.get('firstName').clearValidators();
    this.customerForm.get('firstName').updateValueAndValidity();
  
    this.customerForm.get('phoneNumber').clearValidators();
    this.customerForm.get('phoneNumber').updateValueAndValidity();
  
    this.customerForm.get('streetName').clearValidators();
    this.customerForm.get('streetName').updateValueAndValidity();
  </code></pre>