From 8a1c9556705435b208e1a3b220e4e6a55b766630 Mon Sep 17 00:00:00 2001 From: Harry Chen Date: Tue, 11 Dec 2018 17:38:33 +0800 Subject: [PATCH] chore: remove wrong import --- packages/metrics/src/MetricsClient.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/metrics/src/MetricsClient.ts b/packages/metrics/src/MetricsClient.ts index 027e7f65..cef51ae6 100644 --- a/packages/metrics/src/MetricsClient.ts +++ b/packages/metrics/src/MetricsClient.ts @@ -5,7 +5,6 @@ import { Environment, EnvironmentUtil } from 'pandora-env'; import { MetricsMessengerClient } from './util/MessengerUtil'; import { Counter, FastCompass, Gauge, Histogram, Meter, Proxiable, Timer } from './client'; import { AbstractIndicator } from './indicator/AbstractIndicator'; -import { type } from 'os'; export class MetricsClient extends AbstractIndicator { @@ -196,7 +195,7 @@ export class MetricsClient extends AbstractIndicator { return new MetricsRegistry(); } - private createMetricProxy(type) { + private createMetricProxy(type: string) { switch (type) { case 'COUNTER': return new Counter();