1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-06 00:13:28 +00:00

Update jslib (#1293)

* Update jslib

* [style] Ran prettier
This commit is contained in:
Addison Beck
2022-02-03 14:39:49 -05:00
committed by GitHub
parent 166c459da4
commit c1a3178538
2 changed files with 7 additions and 2 deletions

2
jslib

Submodule jslib updated: 92a65b7b36...448856cc22

View File

@@ -4,7 +4,12 @@ import { Account } from "../models/account";
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) {
// Apply desktop overides to default account values
account = new Account(account);