DGAC/nmb2b-client-js

Error in RunwayConfiguration type

Closed this issue · 0 comments

kouak commented

RunwayConfiguration is typed as follows :

export interface RunwayConfiguration {
  runway?: RunwayId;
  usage?: RunwayUsage;
  runwayUsageDataSource?: PlanDataSource;
  departureTaxiTime?: DurationHourMinute;
  departureTaxiTimeDataSource?: PlanDataSource;
  timeToInsertInSequence?: DurationHourMinute;
  timeToInsertInSequenceDataSource?: PlanDataSource;
  timeToRemoveFromSequence?: DurationHourMinute;
  timeToRemoveFromSequenceDataSource?: PlanDataSource;
  arrivalTaxiTime?: DurationHourMinute;
  arrivalTaxiTimeDataSource?: PlanDataSource;
}

NM documentation states that runway is a mandatory property and should not be marked as optional in the typescript interface.

image