1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-30 13:03:53 +01: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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

2
jslib

@ -1 +1 @@
Subproject commit 92a65b7b368a8dbf55350657674c90169b04c30b Subproject commit 448856cc22510086bfddc99e3f1022ee28727694

View File

@ -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);