1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-27 12:36:14 +01:00

Fixed lint warnings (#82)

This commit is contained in:
Vincent Salucci 2020-03-02 13:45:06 -06:00 committed by GitHub
parent 6210396aa9
commit da9b9b438c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
import { PolicyData } from '../models/data/policyData';
import { MasterPasswordPolicyOptions } from '../models/domain/masterPasswordPolicyOptions'
import { Policy } from '../models/domain/policy'
import { MasterPasswordPolicyOptions } from '../models/domain/masterPasswordPolicyOptions';
import { Policy } from '../models/domain/policy';
import { PolicyType } from '../enums/policyType';
@ -12,7 +12,7 @@ export abstract class PolicyService {
getAll: (type?: PolicyType) => Promise<Policy[]>;
replace: (policies: { [id: string]: PolicyData; }) => Promise<any>;
clear: (userId: string) => Promise<any>;
getMasterPasswordPolicyOptions: () => Promise<MasterPasswordPolicyOptions>;
getMasterPasswordPolicyOptions: (policies?: Policy[]) => Promise<MasterPasswordPolicyOptions>;
evaluateMasterPassword: (passwordStrength: number, newPassword: string,
enforcedPolicyOptions?: MasterPasswordPolicyOptions) => boolean;
}

View File

@ -4,8 +4,8 @@ import { UserService } from '../abstractions/user.service';
import { PolicyData } from '../models/data/policyData';
import { MasterPasswordPolicyOptions } from '../models/domain/masterPasswordPolicyOptions';
import { Policy } from '../models/domain/policy';
import { MasterPasswordPolicyOptions } from '../models/domain/masterPasswordPolicyOptions'
import { PolicyType } from '../enums/policyType';