mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +02:00
Fix types reference
This commit is contained in:
@@ -6,11 +6,12 @@ import {
|
|||||||
useCallback,
|
useCallback,
|
||||||
} from 'react';
|
} from 'react';
|
||||||
import ReactPlayer, { ReactPlayerProps } from 'react-player';
|
import ReactPlayer, { ReactPlayerProps } from 'react-player';
|
||||||
|
import { Song } from '@/renderer/api/types';
|
||||||
import {
|
import {
|
||||||
crossfadeHandler,
|
crossfadeHandler,
|
||||||
gaplessHandler,
|
gaplessHandler,
|
||||||
} from '@/renderer/components/audio-player/utils/list-handlers';
|
} from '@/renderer/components/audio-player/utils/list-handlers';
|
||||||
import { CrossfadeStyle, PlaybackStyle, PlayerStatus, Song } from '@/types';
|
import { CrossfadeStyle, PlaybackStyle, PlayerStatus } from '@/renderer/types';
|
||||||
|
|
||||||
interface AudioPlayerProps extends ReactPlayerProps {
|
interface AudioPlayerProps extends ReactPlayerProps {
|
||||||
crossfadeDuration: number;
|
crossfadeDuration: number;
|
||||||
|
|||||||
Reference in New Issue
Block a user