fix: prefer interfaces in static types

This commit is contained in:
2026-05-24 22:44:47 +02:00
parent 258c676e89
commit 0edc8feb8d
2 changed files with 4 additions and 4 deletions

View File

@@ -3,11 +3,11 @@ export {};
// JST offset from UTC in minutes (UTC+9)
const jstOffsetMinutes = 9 * 60;
type ParsedBroadcast = {
interface ParsedBroadcast {
day: string;
hour: number;
minute: number;
};
}
const parseBroadcastTime = (value: string | null): { hour: number; minute: number } | null => {
if (!value || typeof value !== 'string') {