mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 06:43:35 +00:00
[deps] Autofill: Update prettier to v3 (#7014)
* [deps] Autofill: Update prettier to v3 * prettier formatting updates --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jonathan Prusik <jprusik@classynemesis.com>
This commit is contained in:
@@ -17,7 +17,7 @@ export class ColorPasswordPipe implements PipeTransform {
|
||||
|
||||
protected generateTemplate(
|
||||
password: string,
|
||||
templateGenerator: (character: string, type: string, index?: number) => string
|
||||
templateGenerator: (character: string, type: string, index?: number) => string,
|
||||
) {
|
||||
// Convert to an array to handle cases that stings have special characters, ie: emoji.
|
||||
const passwordArray = Array.from(password);
|
||||
|
||||
@@ -11,21 +11,21 @@ export class SearchPipe implements PipeTransform {
|
||||
searchText: string,
|
||||
prop1?: keyof T,
|
||||
prop2?: keyof T,
|
||||
prop3?: keyof T
|
||||
prop3?: keyof T,
|
||||
): T[];
|
||||
transform<T>(
|
||||
items: T[],
|
||||
searchText: string,
|
||||
prop1?: PropertyValueFunction<T>,
|
||||
prop2?: PropertyValueFunction<T>,
|
||||
prop3?: PropertyValueFunction<T>
|
||||
prop3?: PropertyValueFunction<T>,
|
||||
): T[];
|
||||
transform<T>(
|
||||
items: T[],
|
||||
searchText: string,
|
||||
prop1?: keyof T | PropertyValueFunction<T>,
|
||||
prop2?: keyof T | PropertyValueFunction<T>,
|
||||
prop3?: keyof T | PropertyValueFunction<T>
|
||||
prop3?: keyof T | PropertyValueFunction<T>,
|
||||
): T[] {
|
||||
if (items == null || items.length === 0) {
|
||||
return [];
|
||||
|
||||
Reference in New Issue
Block a user