Commits

Michael Klishin committed 1d12924

Correctly type hint here

Comments (0)

Files changed (1)

metrics-clojure-core/src/metrics/utils.clj

           (map (partial get-percentile metric)
                percentiles)))
 
-(defn metric-name ^MetricName [title]
+(defn ^MetricName metric-name [title]
   (if (string? title)
     (new MetricName "default" "default" ^String title)
     (new MetricName