Skip to content

requestExerciseRoute has a wrong type #244

@francescovenica

Description

@francescovenica

I think there is an error with the requestExerciseRoute method, at the moment it returns this type:

export interface ExerciseRoute {
  type?: ExerciseRouteResultType; // ReadRecord(s) will always populate this, write and readExerciseRoute will not
  route: Location[];
}

but in reality the promise return an array of Locations

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions