diff --git a/package.json b/package.json index 63a9600..3481200 100644 --- a/package.json +++ b/package.json @@ -4,9 +4,10 @@ "scripts": { "dev": "vite", "dev:browser": "vite -c vite.config.browser.ts", - "build": "vuedx-typecheck . && vite build", - "build:browser": "vuedx-typecheck . && vite build -c vite.config.browser.ts", - "serve": "vite preview" + "build": "vite build", + "build:browser": "vite build -c vite.config.browser.ts", + "serve": "vite preview", + "typecheck": "vuedx-typecheck" }, "dependencies": { "animejs": "^3.2.1", diff --git a/src/pages/Settings.vue b/src/pages/Settings.vue index eb3db93..c4fcd3d 100644 --- a/src/pages/Settings.vue +++ b/src/pages/Settings.vue @@ -69,7 +69,7 @@ export default defineComponent({ get(): Unit { return this.$store.state.options.units }, - set(value): void { + set(value:Unit): void { this.$store.commit('updateUnits', value) }, } @@ -78,10 +78,6 @@ export default defineComponent({ updateGoal({ target }: Event) { this.$store.commit('updateGoal', (target).value) }, - updateUnits({ target }: Event) { - console.log((target).value) - this.$store.commit('updateUnits', (target).value) - }, }, })