import * as tsplus_module_1 from "@effect/core/io/Metrics/definition";
/**
 * @tsplus fluent ets/Metrics/Metric mapType
 */

export function mapType_(self, f) {
  return tsplus_module_1.Metric(f(self.keyType), self.unsafeUpdate, self.unsafeValue);
}
/**
 * @tsplus static ets/Metrics/Metric/Aspects mapType
 */

export const mapType = f => self => mapType_(self, f);
//# sourceMappingURL=mapType.mjs.map