start project "move to typescript"

This commit is contained in:
geoffrey45
2022-03-14 21:05:58 +03:00
parent ead3a731ef
commit 33a9aa2c30
18 changed files with 48 additions and 41 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import { ref } from "@vue/reactivity";
import { watch } from "@vue/runtime-core";
import media from "./mediaNotification.js";
import playAudio from "./playAudio.js";
import state from "./state.js";
import state from "./state";
const current = ref(state.current);
+1 -1
View File
@@ -2,7 +2,7 @@ import {ref} from "@vue/reactivity";
import perks from "./perks";
import media from "./mediaNotification.js";
import state from "./state.js";
import state from "./state";
const audio = ref(new Audio()).value;
+1 -1
View File
@@ -1,7 +1,7 @@
import Router from "@/router";
import album from "./album.js";
import state from "./state.js";
import state from "./state";
async function toAlbum(title, artist) {
console.log("routing to album");
+1 -1
View File
@@ -1,4 +1,4 @@
import state from "./state.js";
import state from "./state";
const base_url = `${state.settings.uri}/search?q=`;