fix: typing parity

This commit is contained in:
TrèsAbhi committed 2024-05-27 21:08:05 -05:00
1 parent 96ce3c7d41
commit 615d7f06aa
6 files changed
+16 -13

No files matched your search

@@ -163,7 +163,9 @@ export function ShotDisplay() {
(shot.out.layers.at(-1) as ShotLayerNonExternal).point,
)
: LENGTH_INFINITY;
const inLast = shot.in.layers.findLast((layer) => layer.type !== null)!;
const inLast = shot.in.layers.findLast(
(layer) => layer.type !== null,
) as ShotLayerNonExternal;
const outTitleColor = shot.out
? shotStatusColors[shot.out.status]
: undefined;