/* eslint-disable ember/no-computed-properties-in-native-classes, ember/classic-decorator-no-classic-methods */
import { computed } from '@ember/object';
import { inject as service } from '@ember/service';
import Component from '@ember/component';

export default class ClassFieldDescription extends Component {
  @service
  legacyModuleMappings;

  @computed('field.{name,class}')
  get hasImportExample() {
    return this.legacyModuleMappings.hasFunctionMapping(
      this.get('field.name'),
      this.get('field.class')
    );
  }

  /**
   * Callback for updating the anchor with the field name that was clicked by a user.
   *
   * @method updateAnchor
   * @method fieldName String The name representing the field that was clicked.
   */
  updateAnchor() {}
}

@@ -1,135 +1,72 @@
-/* eslint-disable ember/no-computed-properties-in-native-cl
+import %7B inject 
 as
+ 
 se
-s, ember/classic-decorator-no-classic-methods */%0Aimport %7B computed %7D
+rvice %7D from '@ember/service';%0Aimport Component
  fro
@@ -79,13 +79,16 @@
 ber/
-objec
+componen
 t';%0A
@@ -100,92 +100,95 @@
 t %7B 
-inject as service %7D from '@ember/service';%0Aimport Component from '@ember/component';
+tracked %7D from '@glimmer/tracking';%0A%0Aclass Field %7B%0A  @tracked name;%0A  @tracked class;%0A%7D
 %0A%0Aex
@@ -290,39 +290,29 @@
 %0A%0A  
-@computed('field.%7Bname,class%7D')
+field = new Field();%0A
 %0A  g
@@ -399,29 +399,24 @@
 %0A      this.
-get('
 field.name')
@@ -413,18 +413,16 @@
 eld.name
-')
 ,%0A      
@@ -430,13 +430,8 @@
 his.
-get('
 fiel
@@ -441,10 +441,8 @@
 lass
-')
 %0A   

Fix linting error (#775)