From 8b4c7a3bdce6c291c98082190b48fb85e2f4139b Mon Sep 17 00:00:00 2001 From: Benjamin Beret Date: Wed, 26 Jun 2024 14:50:49 +0200 Subject: [PATCH] Fix Flight.slotSwapCounter typings (#140) --- .changeset/loud-windows-rhyme.md | 5 +++++ src/Flight/types.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/loud-windows-rhyme.md diff --git a/.changeset/loud-windows-rhyme.md b/.changeset/loud-windows-rhyme.md new file mode 100644 index 0000000..0919090 --- /dev/null +++ b/.changeset/loud-windows-rhyme.md @@ -0,0 +1,5 @@ +--- +'@dgac/nmb2b-client': patch +--- + +Fix Flight.slotSwapCounter typings diff --git a/src/Flight/types.ts b/src/Flight/types.ts index 67ba5df..189bc94 100644 --- a/src/Flight/types.ts +++ b/src/Flight/types.ts @@ -424,7 +424,7 @@ export interface Flight { targetTimeOverFix?: TargetTime; flightState?: FlightState; lastKnownPosition?: FourDPosition; - slotSwapCounter: { + slotSwapCounter?: { // SlotSwapCounter, currentCounter: number; maxLimit: number;