1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-22 03:03:43 +00:00

added typings to tools components

This commit is contained in:
Kyle Spearrin
2018-01-11 14:34:53 -05:00
parent 35a20c775c
commit 969eb76ccc
4 changed files with 14 additions and 7 deletions

View File

@@ -2,6 +2,8 @@ import * as template from './password-generator-history.component.html';
import { PasswordHistory } from 'jslib/models/domain/passwordHistory';
import { PasswordGenerationService } from 'jslib/abstractions/passwordGeneration.service';
export class PasswordGeneratorHistoryController {
$transition$: any;
history: PasswordHistory[];
@@ -9,8 +11,8 @@ export class PasswordGeneratorHistoryController {
addState: any;
i18n: any;
constructor(private $state: any, private passwordGenerationService: any, private toastr: any,
private $analytics: any, private i18nService: any) {
constructor(private $state: any, private passwordGenerationService: PasswordGenerationService,
private toastr: any, private $analytics: any, private i18nService: any) {
this.i18n = i18nService;
this.history = passwordGenerationService.getHistory();
}