1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

add typings for timeouts and window objects

This commit is contained in:
Kyle Spearrin
2018-01-11 14:16:38 -05:00
parent e2267d29a3
commit 2f5a1f470a
10 changed files with 14 additions and 14 deletions

View File

@@ -21,9 +21,9 @@ export class CurrentController {
constructor($scope: any, private cipherService: any,
private platformUtilsService: PlatformUtilsService,
private utilsService: UtilsService, private toastr: any, private $window: any, private $state: any,
private $timeout: any, private autofillService: any, private $analytics: any, private i18nService: any,
private $filter: any) {
private utilsService: UtilsService, private toastr: any, private $window: ng.IWindowService,
private $state: any, private $timeout: ng.ITimeoutService, private autofillService: any,
private $analytics: any, private i18nService: any, private $filter: any) {
this.i18n = i18nService;
this.inSidebar = platformUtilsService.inSidebar($window);
this.disableSearch = platformUtilsService.isEdge();