staffLdb times can be Date | string

This commit is contained in:
Fred Boniface 2023-09-14 20:44:19 +01:00
parent 5d947e5ad3
commit fd6eb64cc4
2 changed files with 7 additions and 7 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@owlboard/ts-types",
"version": "0.0.8",
"version": "0.0.9",
"description": "Declares Typescript types for the OwlBoard stack",
"main": "index.ts",
"scripts": {

View File

@ -30,12 +30,12 @@ export interface TrainServices {
delayReason?: string;
arrivalType?: string;
departureType?: string;
sta?: Date;
eta?: Date;
ata?: Date;
std?: Date;
etd?: Date;
atd?: Date;
sta?: Date | string;
eta?: Date | string;
ata?: Date | string;
std?: Date | string;
etd?: Date | string;
atd?: Date | string;
[key: string]: any;
}