1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-01 01:03:39 +00:00

Mark ActiveUserState deprecated

This commit is contained in:
Todd Martin
2025-12-05 16:13:05 -05:00
parent 701ecb7466
commit e0cd62ef07

View File

@@ -17,6 +17,10 @@ export interface UserState<T> {
export const activeMarker: unique symbol = Symbol("active");
/**
* @deprecated ActiveUserState is deprecated. Use SingleUserState instead.
* See https://github.com/bitwarden/clients/tree/main/libs/state#should-i-use-activeuserstate
*/
export interface ActiveUserState<T> extends UserState<T> {
readonly [activeMarker]: true;