fix: use type-only imports in player

This commit is contained in:
2026-05-24 22:45:36 +02:00
parent 2324d2a8e6
commit 6012ba824f
3 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
import { ModeSource, SkipSegment, SubtitleCue, SubtitleTrack, ActiveSegment } from './types';
import type { ModeSource, SkipSegment, SubtitleCue, SubtitleTrack, ActiveSegment } from './types';
import { q, qs, dataset } from '../q';
export interface PlayerState {

View File

@@ -1,4 +1,4 @@
import { SubtitleCue, SubtitleTrack } from '../types';
import type { SubtitleCue, SubtitleTrack } from '../types';
import { state } from '../state';
import { parseVtt } from './vtt';

View File

@@ -1,4 +1,4 @@
import { TimelineBounds } from './types';
import type { TimelineBounds } from './types';
import { state } from './state';
// mm:ss formatter