Skip to content
On this page

Home > sncf.js > StopArea > departures

StopArea.departures() method

Get the departures of the stop area

Signature:

typescript
departures(date?: Date): Promise<Departure[]>;

Parameters

Parameter

Type

Description

date

Date

(Optional) The date of the departures

**Returns:**

Promise<Departure[]>