1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 08:43:33 +00:00

Add typing to localData object (#3368)

This commit is contained in:
Thomas Rittson
2022-09-02 06:09:06 +10:00
committed by GitHub
parent e2cb0cf11a
commit 063acfef40
5 changed files with 22 additions and 7 deletions

View File

@@ -3,6 +3,7 @@ import { Jsonify } from "type-fest";
import { CipherRepromptType } from "../../enums/cipherRepromptType";
import { CipherType } from "../../enums/cipherType";
import { LinkedIdType } from "../../enums/linkedIdType";
import { LocalData } from "../data/localData";
import { Cipher } from "../domain/cipher";
import { AttachmentView } from "./attachmentView";
@@ -25,7 +26,7 @@ export class CipherView implements View {
organizationUseTotp = false;
edit = false;
viewPassword = true;
localData: any;
localData: LocalData;
login = new LoginView();
identity = new IdentityView();
card = new CardView();