mirror of
https://github.com/bitwarden/browser
synced 2026-02-01 01:03:39 +00:00
Mark ActiveUserState deprecated
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user