Skip to content

Commit

Permalink
fix jsdoc returns tag
Browse files Browse the repository at this point in the history
  • Loading branch information
vicb committed Jun 3, 2024
1 parent 80f5938 commit ba76ae2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion libs/optimizer/src/lib/optimizer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export interface ScoringResult {
*
* @param request Contains the tracks and options.
* @param ruleName The ScoringRules to use.
* @return an Iterator of OptimizationResult
* @returns an Iterator of OptimizationResult
*/
export function* getOptimizer(
request: ScoringRequest,
Expand Down
2 changes: 1 addition & 1 deletion libs/optimizer/src/lib/utils/create-segments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { LatLonAltTime, ScoringTrack } from '../optimizer';
*
* Points are computed by a linear interpolation
*
* @return a ScoringTrack of nbSegments
* @returns a ScoringTrack of nbSegments
*/
export function createSegments(startPoint: LatLonAltTime, endPoint: LatLonAltTime, nbSegments: number): ScoringTrack {
const points: LatLonAltTime[] = [];
Expand Down
2 changes: 1 addition & 1 deletion libs/optimizer/src/lib/utils/merge-tracks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { LatLonAltTime, ScoringTrack } from '../optimizer';
* Collapse end and start point of consecutive tracks when they match.
*
* @param tracks the tracks to concatenate
* @return a track
* @returns a track
*/
export function mergeTracks(...tracks: ScoringTrack[]): ScoringTrack {
const points: LatLonAltTime[] = [];
Expand Down

0 comments on commit ba76ae2

Please sign in to comment.