1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 09:13:33 +00:00

Add type CipherView for AutoFill functionality

This commit is contained in:
Daniel James Smith
2021-10-18 15:32:38 +02:00
parent 92459c6098
commit 4b49b1fcc0
2 changed files with 5 additions and 2 deletions

View File

@@ -10,6 +10,7 @@ import { TotpService } from 'jslib-common/abstractions/totp.service';
import { VaultTimeoutService } from 'jslib-common/abstractions/vaultTimeout.service';
import { EventType } from 'jslib-common/enums/eventType';
import { CipherView } from 'jslib-common/models/view/cipherView';
export default class ContextMenusBackground {
private contextMenus: any;
@@ -88,7 +89,7 @@ export default class ContextMenusBackground {
}
}
private async startAutofillPage(cipher: any) {
private async startAutofillPage(cipher: CipherView) {
this.main.loginToAutoFill = cipher;
const tab = await BrowserApi.getTabFromCurrentWindow();
if (tab == null) {