react-mutation-mapper 0.8.86 → 0.8.87

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -542,6 +542,8 @@ function fetchVariantAnnotationsByMutation(mutations, fields, isoformOverrideSou
542
542
  client.fetchVariantAnnotationByGenomicLocationPOST)) return [3 /*break*/, 2];
543
543
  return [4 /*yield*/, client.fetchVariantAnnotationByGenomicLocationPOST({
544
544
  genomicLocations: genomicLocations,
545
+ // this is a workaround to ignore the incorrect type definition generated by the swagger client generator
546
+ // "fields" is a list of predefined string values, but the type generator incorrectly defines it as a single value
545
547
  fields: fields,
546
548
  isoformOverrideSource: isoformOverrideSource,
547
549
  })];