diff --git a/plugins/catalog-backend/api-report.md b/plugins/catalog-backend/api-report.md index d15c631e0c..aa667b01d7 100644 --- a/plugins/catalog-backend/api-report.md +++ b/plugins/catalog-backend/api-report.md @@ -150,7 +150,7 @@ export class CatalogBuilder { getDefaultProcessors(): CatalogProcessor[]; replaceEntityPolicies(policies: EntityPolicy[]): CatalogBuilder; replaceProcessors(processors: CatalogProcessor[]): CatalogBuilder; - setAllowedLocationTypes(allowedLocationTypes: string[]): this; + setAllowedLocationTypes(allowedLocationTypes: string[]): CatalogBuilder; setEntityDataParser(parser: CatalogProcessorParser): CatalogBuilder; setFieldFormatValidators(validators: Partial): CatalogBuilder; setLocationAnalyzer(locationAnalyzer: LocationAnalyzer): CatalogBuilder; diff --git a/plugins/catalog-backend/src/service/CatalogBuilder.ts b/plugins/catalog-backend/src/service/CatalogBuilder.ts index a8ed0f492a..25f9fde313 100644 --- a/plugins/catalog-backend/src/service/CatalogBuilder.ts +++ b/plugins/catalog-backend/src/service/CatalogBuilder.ts @@ -370,7 +370,7 @@ export class CatalogBuilder { * * @param allowedLocationTypes - the allowed location types */ - setAllowedLocationTypes(allowedLocationTypes: string[]) { + setAllowedLocationTypes(allowedLocationTypes: string[]): CatalogBuilder { this.allowedLocationType = allowedLocationTypes; return this; }