code: function typeDirectiveIsEqualTo(oldResolution, newResolution) {
          return oldResolution.resolvedFileName === newResolution.resolvedFileName && oldResolution.primary === newResolution.primary;
      }
docs: /* @internal