Skip to content

Commit

Permalink
Remove reduntant types from JSDoc strings
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanfranklin committed Nov 3, 2023
1 parent 598590d commit b8cf6f2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions angular/src/app/services/geo-data.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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);
Expand Down

0 comments on commit b8cf6f2

Please sign in to comment.