mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 11:17:05 +02:00
fix: typing parity
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user