mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
[PM-3609] [Tech-Debt] Add types to password and username generator (#6090)
* Create and use GeneratorOptions Selection between `password`and `username` * Use PasswordGeneratorOptions * Declare and use UsernameGeneratorOptions
This commit is contained in:
committed by
GitHub
parent
b78d17aa62
commit
255a7381b3
3
libs/common/src/tools/generator/generator-options.ts
Normal file
3
libs/common/src/tools/generator/generator-options.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export type GeneratorOptions = {
|
||||
type?: "password" | "username";
|
||||
};
|
||||
Reference in New Issue
Block a user