fix: use type-only imports in player
This commit is contained in:
@@ -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';
|
import { q, qs, dataset } from '../q';
|
||||||
|
|
||||||
export interface PlayerState {
|
export interface PlayerState {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { SubtitleCue, SubtitleTrack } from '../types';
|
import type { SubtitleCue, SubtitleTrack } from '../types';
|
||||||
import { state } from '../state';
|
import { state } from '../state';
|
||||||
import { parseVtt } from './vtt';
|
import { parseVtt } from './vtt';
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { TimelineBounds } from './types';
|
import type { TimelineBounds } from './types';
|
||||||
import { state } from './state';
|
import { state } from './state';
|
||||||
|
|
||||||
// mm:ss formatter
|
// mm:ss formatter
|
||||||
|
|||||||
Reference in New Issue
Block a user