From fd6eb64cc4c1ced72e5fdadeae0529f9e42b4147 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Thu, 14 Sep 2023 20:44:19 +0100 Subject: [PATCH] staffLdb times can be Date | string --- package.json | 2 +- src/owlboardApi/staffLdb.ts | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 41744f5..bf371d3 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/src/owlboardApi/staffLdb.ts b/src/owlboardApi/staffLdb.ts index 35dc6a6..53f36fd 100644 --- a/src/owlboardApi/staffLdb.ts +++ b/src/owlboardApi/staffLdb.ts @@ -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; }