Skip to content

Commit

Permalink
change exports to type to avoid increasing bundle size
Browse files Browse the repository at this point in the history
  • Loading branch information
stacey-gammon committed Jun 9, 2021
1 parent c75c7e2 commit 625c1c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x-pack/plugins/alerting/public/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
*/

import { AlertingPublicPlugin } from './plugin';
export { PluginSetupContract, PluginStartContract } from './plugin';
export { AlertNavigationHandler } from './alert_navigation_registry';
export type { PluginSetupContract, PluginStartContract } from './plugin';
export type { AlertNavigationHandler } from './alert_navigation_registry';

export function plugin() {
return new AlertingPublicPlugin();
Expand Down

0 comments on commit 625c1c5

Please sign in to comment.