Skip to content

Commit e0cd62e

Browse files
committed
Mark ActiveUserState deprecated
1 parent 701ecb7 commit e0cd62e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libs/state/src/core/user-state.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ export interface UserState<T> {
1717

1818
export const activeMarker: unique symbol = Symbol("active");
1919

20+
/**
21+
* @deprecated ActiveUserState is deprecated. Use SingleUserState instead.
22+
* See https://github.com/bitwarden/clients/tree/main/libs/state#should-i-use-activeuserstate
23+
*/
2024
export interface ActiveUserState<T> extends UserState<T> {
2125
readonly [activeMarker]: true;
2226

0 commit comments

Comments
 (0)