1
0
mirror of https://github.com/bitwarden/jslib synced 2025-12-17 16:53:20 +00:00

[bug] Assign client specific account settings during migration (#653)

* [bug] Assign client specific account settings during migration

* [refactor] Write State type arguements in consistent order

* [style] Ran prettier
This commit is contained in:
Addison Beck
2022-02-03 13:32:42 -05:00
committed by GitHub
parent ca5c6a9c32
commit 067cd1e0e1
5 changed files with 103 additions and 86 deletions

View File

@@ -2,8 +2,8 @@ import { Account } from "./account";
import { GlobalState } from "./globalState";
export class State<
TAccount extends Account = Account,
TGlobalState extends GlobalState = GlobalState
TGlobalState extends GlobalState = GlobalState,
TAccount extends Account = Account
> {
accounts: { [userId: string]: TAccount } = {};
globals: TGlobalState;