Skip to content

Commit

Permalink
remove unnecessary import aliases (#144250)
Browse files Browse the repository at this point in the history
* remove unnecessary import aliases

* update doc link to PerformanceMetricEvent
  • Loading branch information
suchcodemuchwow authored Oct 31, 2022
1 parent df1a662 commit 399a118
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export function registerPerformanceMetricEventType(
/**
* Report a `performance_metric` event type.
* @param analytics The {@link AnalyticsClient} to report the events.
* @param eventData The data to send, conforming the structure of a {@link MetricEvent}.
* @param eventData The data to send, conforming the structure of a {@link PerformanceMetricEvent}.
*/
export function reportPerformanceMetricEvent(
analytics: Pick<AnalyticsClient, 'reportEvent'>,
Expand Down
7 changes: 2 additions & 5 deletions packages/kbn-ebt-tools/src/performance_metric_events/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,5 @@
* in compliance with, at your election, the Elastic License 2.0 or the Server
* Side Public License, v 1.
*/
export type { PerformanceMetricEvent as MetricEvent } from './schema';
export {
registerPerformanceMetricEventType as registerPerformanceMetricEventType,
reportPerformanceMetricEvent,
} from './helpers';
export type { PerformanceMetricEvent } from './schema';
export { registerPerformanceMetricEventType, reportPerformanceMetricEvent } from './helpers';

0 comments on commit 399a118

Please sign in to comment.