move types to types file
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import type { PlayerElement } from '$lib/types/types';
|
||||
import type { AudioPlayerElement } from '$lib/types';
|
||||
import { writable } from 'svelte/store';
|
||||
|
||||
// readonly - stores will update when bindings change
|
||||
export const audio_current_time = writable<number>(0);
|
||||
export const audio_element = writable<PlayerElement>();
|
||||
export const audio_element = writable<AudioPlayerElement>();
|
||||
export const audio_duration = writable<number>(0);
|
||||
export const audio_ended = writable<boolean>(false);
|
||||
export const audio_loading = writable<boolean>(false);
|
||||
|
||||
Reference in New Issue
Block a user