mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +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:
@@ -8,7 +8,7 @@ export abstract class BaseResponse {
|
||||
protected getResponseProperty(
|
||||
propertyName: string,
|
||||
response: any = null,
|
||||
exactName = false
|
||||
exactName = false,
|
||||
): any {
|
||||
if (propertyName == null || propertyName === "") {
|
||||
throw new Error("propertyName must not be null/empty.");
|
||||
|
||||
@@ -11,7 +11,7 @@ export class DomainsResponse extends BaseResponse {
|
||||
const globalEquivalentDomains = this.getResponseProperty("GlobalEquivalentDomains");
|
||||
if (globalEquivalentDomains != null) {
|
||||
this.globalEquivalentDomains = globalEquivalentDomains.map(
|
||||
(d: any) => new GlobalDomainResponse(d)
|
||||
(d: any) => new GlobalDomainResponse(d),
|
||||
);
|
||||
} else {
|
||||
this.globalEquivalentDomains = [];
|
||||
|
||||
@@ -53,7 +53,7 @@ export class ProfileResponse extends BaseResponse {
|
||||
const providerOrganizations = this.getResponseProperty("ProviderOrganizations");
|
||||
if (providerOrganizations != null) {
|
||||
this.providerOrganizations = providerOrganizations.map(
|
||||
(o: any) => new ProfileProviderOrganizationResponse(o)
|
||||
(o: any) => new ProfileProviderOrganizationResponse(o),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user