mirror of
https://github.com/bitwarden/browser
synced 2026-02-07 04:03:29 +00:00
[Account Recovery][PM-18721] update typing on open method
This commit is contained in:
@@ -152,9 +152,12 @@ export class AccountRecoveryDialogComponent {
|
||||
*/
|
||||
static open = (
|
||||
dialogService: DialogService,
|
||||
dialogConfig: DialogConfig<AccountRecoveryDialogData>,
|
||||
dialogConfig: DialogConfig<
|
||||
AccountRecoveryDialogData,
|
||||
DialogRef<AccountRecoveryDialogResultType, unknown>
|
||||
>,
|
||||
) => {
|
||||
return dialogService.open<AccountRecoveryDialogResultType>(
|
||||
return dialogService.open<AccountRecoveryDialogResultType, AccountRecoveryDialogData>(
|
||||
AccountRecoveryDialogComponent,
|
||||
dialogConfig,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user