Skip to content

Commit 2aedc20

Browse files
committed
fix: imports
1 parent 52c62b7 commit 2aedc20

2 files changed

Lines changed: 5 additions & 9 deletions

File tree

frontend/frontend-kit/core/src/minMaxDownsample.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { TelemetryPacket, VariableValue } from "./types";
1+
import { type TelemetryPacket, type VariableValue } from "./types";
22

33
/**
44
* Helper to extract a numeric value for comparison.

frontend/testing-view/src/hooks/useBoardData.ts

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,14 @@ import { formatName } from "../lib/utils";
44
import { MOCK_COMMANDS_CATALOG } from "../mocks/commands";
55
import { MOCK_TELEMETRY_CATALOG } from "../mocks/telemetry";
66
import type { AppMode } from "../types/app/mode";
7-
import type { BoardName } from "../types/data/board";
7+
import type { BoardName, OrdersData, PacketsData } from "../types/data/board";
88
import type { CommandCatalogItem } from "../types/data/commandCatalogItem";
99
import type { TelemetryCatalogItem } from "../types/data/telemetryCatalogItem";
10-
import type {
11-
OrdersData,
12-
PacketsData,
13-
TransformedBoards,
14-
} from "../types/data/transformedBoards";
10+
import type { TransformedBoards } from "../types/data/transformedBoards";
1511

1612
export function useBoardData(
17-
packets: PacketsData | null,
18-
commands: OrdersData | null,
13+
packets: PacketsData | null | undefined,
14+
commands: OrdersData | null | undefined,
1915
appMode: AppMode,
2016
) {
2117
const transformedBoards = useMemo<TransformedBoards>(() => {

0 commit comments

Comments
 (0)