diff --git a/src/components/BeaconController.vue b/src/components/BeaconController.vue index e8d91f5..521c8ac 100644 --- a/src/components/BeaconController.vue +++ b/src/components/BeaconController.vue @@ -20,7 +20,7 @@

- \ No newline at end of file diff --git a/src/shims-vue.d.ts b/src/shims-vue.d.ts new file mode 100644 index 0000000..e98bce1 --- /dev/null +++ b/src/shims-vue.d.ts @@ -0,0 +1,5 @@ +declare module '*.vue' { + import { DefineComponent } from 'vue'; + const component: DefineComponent<{}, {}, any>; + export default component; +} \ No newline at end of file diff --git a/src/state/audio.ts b/src/state/audio.ts index 1a5d260..705f6c7 100644 --- a/src/state/audio.ts +++ b/src/state/audio.ts @@ -98,7 +98,7 @@ export async function playSpatialSpeech(text: string, voiceIndex: number, rate: }); } -type SpeechSynthesisVoiceWithIndex = SpeechSynthesisVoice & { +export type SpeechSynthesisVoiceWithIndex = SpeechSynthesisVoice & { voiceIndex: number; } @@ -106,7 +106,7 @@ interface QueuedEffect { soundUrl: string; location?: Feature; } -interface QueuedSpeech { +export interface QueuedSpeech { text: string; location?: Feature; includeDistance?: boolean;