move types to types file

This commit is contained in:
Ollie Taylor
2023-02-24 22:59:12 +00:00
parent b6874a6e0b
commit c025b3e1a8
9 changed files with 36 additions and 35 deletions
+2 -2
View File
@@ -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);