1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00

import ts through node_modules alias

This commit is contained in:
Kyle Spearrin
2018-01-09 14:26:20 -05:00
parent e165b5cc70
commit f51bebd99a
49 changed files with 515 additions and 322 deletions

View File

@@ -4,7 +4,7 @@ import MainBackground from './main.background';
import PasswordGenerationService from '../services/passwordGeneration.service';
import { Services } from '@bitwarden/jslib';
import { UtilsService } from 'jslib/services/utils.service';
export default class CommandsBackground {
private commands: any;
@@ -35,7 +35,7 @@ export default class CommandsBackground {
private async generatePasswordToClipboard() {
const options = await this.passwordGenerationService.getOptions();
const password = PasswordGenerationService.generatePassword(options);
Services.UtilsService.copyToClipboard(password);
UtilsService.copyToClipboard(password);
this.passwordGenerationService.addHistory(password);
(window as any).ga('send', {