mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00:00
[PM-25633] - fix premium upgrade prompt (#16445)
* fix premium upgrade prompt * use map instead of adding tap dep * update route
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
import { Observable } from "rxjs";
|
||||
|
||||
/**
|
||||
* This interface defines the a contract for a service that prompts the user to upgrade to premium.
|
||||
* It ensures that PremiumUpgradePromptService contains a promptForPremium method.
|
||||
*/
|
||||
export abstract class PremiumUpgradePromptService {
|
||||
abstract promptForPremium(organizationId?: string): Promise<void>;
|
||||
abstract upgradeConfirmed$?: Observable<boolean>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user