From e3498030caa2d6d5f266b087991b6d3d974520c0 Mon Sep 17 00:00:00 2001 From: Stephon Brown Date: Tue, 30 Sep 2025 11:39:28 -0400 Subject: [PATCH] fix: Update any type of private function --- .../individual/upgrade/services/upgrade-flow.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: {