diff --git a/apps/web/src/app/billing/individual/upgrade/services/upgrade-flow.service.ts b/apps/web/src/app/billing/individual/upgrade/services/upgrade-flow.service.ts index ce40c67ab77..4d5f3cff795 100644 --- a/apps/web/src/app/billing/individual/upgrade/services/upgrade-flow.service.ts +++ b/apps/web/src/app/billing/individual/upgrade/services/upgrade-flow.service.ts @@ -7,6 +7,7 @@ import { UnionOfValues } from "@bitwarden/common/vault/types/union-of-values"; import { DialogRef, DialogService } from "@bitwarden/components"; import { BitwardenSubscriber, mapAccountToSubscriber } from "../../../types"; +import { PersonalSubscriptionPricingTierId } from "../../../types/subscription-pricing-tier"; import { UpgradeAccountDialogComponent, UpgradeAccountDialogResult, @@ -18,7 +19,6 @@ import { UpgradePaymentDialogResult, UpgradePaymentDialogStatus, } from "../upgrade-payment-dialog/upgrade-payment-dialog.component"; - export const UpgradeFlowResult = { Upgraded: "upgraded", Cancelled: "cancelled", @@ -91,7 +91,7 @@ export class UpgradeFlowService { } private async openUpgradePaymentDialog( - plan: any, + plan: PersonalSubscriptionPricingTierId | null, ): Promise { this.upgradePaymentDialogRef = UpgradePaymentDialogComponent.open(this.dialogService, { data: {