From b8cf6f2c9b66ec24377d5102410f5adfb76a02ec Mon Sep 17 00:00:00 2001 From: Nathan Franklin Date: Fri, 3 Nov 2023 16:19:43 -0500 Subject: [PATCH] Remove reduntant types from JSDoc strings --- angular/src/app/services/geo-data.service.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/angular/src/app/services/geo-data.service.ts b/angular/src/app/services/geo-data.service.ts index 6d3777c8..508b7943 100644 --- a/angular/src/app/services/geo-data.service.ts +++ b/angular/src/app/services/geo-data.service.ts @@ -539,9 +539,9 @@ export class GeoDataService { /** * Get the source path for a feature asset. * - * @param {Feature} feature - The feature for which to get the source path (assumes that there is a single asset). - * @param {string | null} optionalPath - An optional additional path to append to the source path. - * @returns {string} The source path for the feature asset. + * @param feature - The feature for which to get the source path (assumes that there is a single asset). + * @param optionalPath - An optional additional path to append to the source path. + * @returns The source path for the feature asset. */ getFeatureAssetSourcePath(feature: Feature, optionalPath: string | null = null): string { const baseFeatureSource = this.envService.apiUrl + '/assets/' + feature.assets[0].path; @@ -554,9 +554,9 @@ export class GeoDataService { * * Note: only supports json * - * @param {Feature} feature - The feature for which to get the source path (assumes that there is a single asset). - * @param {string | null} optionalPath - An optional additional path to append to the source path. - * @returns {string} The source path for the feature asset. + * @param feature - The feature for which to get the source path (assumes that there is a single asset). + * @param optionalPath - An optional additional path to append to the source path. + * @returns The source path for the feature asset. */ getFeatureAssetSource(feature: Feature, optionalPath = null) { const featureSourcePath = this.getFeatureAssetSourcePath(feature, optionalPath);