Skip to content

Commit ebc2753

Browse files
committed
Export ChangePasswordProps and PersonalInfoProps from account_management/index.ts
This makes it easier to import these props from outside the account_management folder
1 parent 706ac2e commit ebc2753

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

x-pack/plugins/security/public/account_management/change_password/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,3 @@
66
*/
77

88
export { ChangePassword } from './change_password';
9-
export type { ChangePasswordProps } from './change_password';

x-pack/plugins/security/public/account_management/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@
66
*/
77

88
export { accountManagementApp } from './account_management_app';
9+
10+
export type { ChangePasswordProps } from './change_password/change_password';
11+
export type { PersonalInfoProps } from './personal_info/personal_info';

x-pack/plugins/security/public/account_management/personal_info/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,3 @@
66
*/
77

88
export { PersonalInfo } from './personal_info';
9-
export type { PersonalInfoProps } from './personal_info';

x-pack/plugins/security/public/ui_api/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ import type { ReactElement } from 'react';
99

1010
import type { CoreStart } from 'src/core/public';
1111

12-
import type { ChangePasswordProps } from '../account_management/change_password';
13-
import type { PersonalInfoProps } from '../account_management/personal_info';
12+
import type { ChangePasswordProps, PersonalInfoProps } from '../account_management';
1413
import { getComponents } from './components';
1514

1615
interface GetUiApiOptions {

0 commit comments

Comments
 (0)