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:
parent
6210396aa9
commit
da9b9b438c
@ -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;
|
||||
}
|
||||
|
@ -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';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user