mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 13:53:34 +00:00
2
jslib
2
jslib
Submodule jslib updated: 92a65b7b36...448856cc22
@@ -4,7 +4,12 @@ import { Account } from "../models/account";
|
|||||||
|
|
||||||
import { StateService as StateServiceAbstraction } from "jslib-common/abstractions/state.service";
|
import { StateService as StateServiceAbstraction } from "jslib-common/abstractions/state.service";
|
||||||
|
|
||||||
export class StateService extends BaseStateService<Account> implements StateServiceAbstraction {
|
import { GlobalState } from "jslib-common/models/domain/globalState";
|
||||||
|
|
||||||
|
export class StateService
|
||||||
|
extends BaseStateService<GlobalState, Account>
|
||||||
|
implements StateServiceAbstraction
|
||||||
|
{
|
||||||
async addAccount(account: Account) {
|
async addAccount(account: Account) {
|
||||||
// Apply desktop overides to default account values
|
// Apply desktop overides to default account values
|
||||||
account = new Account(account);
|
account = new Account(account);
|
||||||
|
|||||||
Reference in New Issue
Block a user