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", "name": "@owlboard/ts-types",
"version": "0.0.8", "version": "0.0.9",
"description": "Declares Typescript types for the OwlBoard stack", "description": "Declares Typescript types for the OwlBoard stack",
"main": "index.ts", "main": "index.ts",
"scripts": { "scripts": {

View File

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