Skip to content

Commit

Permalink
Utilize index files for exporting Props types
Browse files Browse the repository at this point in the history
  • Loading branch information
yakhinvadim committed Jun 10, 2021
1 parent 8ec9379 commit 9b932dc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@
*/

export { ChangePassword } from './change_password';

export type { ChangePasswordProps } from './change_password';
4 changes: 2 additions & 2 deletions x-pack/plugins/security/public/account_management/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@

export { accountManagementApp } from './account_management_app';

export type { ChangePasswordProps } from './change_password/change_password';
export type { PersonalInfoProps } from './personal_info/personal_info';
export type { ChangePasswordProps } from './change_password';
export type { PersonalInfoProps } from './personal_info';
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@
*/

export { PersonalInfo } from './personal_info';

export type { PersonalInfoProps } from './personal_info';

0 comments on commit 9b932dc

Please sign in to comment.