remove unnecessary import aliases (#144250)

* remove unnecessary import aliases

* update doc link to PerformanceMetricEvent
This commit is contained in:
Baturalp Gurdin 2022-10-31 17:56:59 +01:00 committed by GitHub
parent df1a662e35
commit 399a1189a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 6 deletions

View file

@ -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'>,

View file

@ -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';