From 4a50e6aae28d22c3d441f1fead4edce7d0e30ff1 Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni Date: Sat, 30 Jul 2022 17:51:09 +0200 Subject: [PATCH] fix: improve some types --- src/components/base/BaseButton.vue | 2 +- src/components/sharing/userTeam.vue | 2 +- src/components/tasks/partials/singleTaskInList.vue | 6 ++++-- src/helpers/auth.ts | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/components/base/BaseButton.vue b/src/components/base/BaseButton.vue index c06297d1..f7e90930 100644 --- a/src/components/base/BaseButton.vue +++ b/src/components/base/BaseButton.vue @@ -25,7 +25,7 @@ export default { inheritAttrs: false } // NOTE: Do NOT use buttons with @click to push routes. => Use router-links instead! -import {ref, watchEffect, computed, useAttrs, PropType} from 'vue' +import { ref, watchEffect, computed, useAttrs, type PropType } from 'vue' const BASE_BUTTON_TYPES_MAP = Object.freeze({ button: 'button', diff --git a/src/components/sharing/userTeam.vue b/src/components/sharing/userTeam.vue index 2c54befa..5106ab3e 100644 --- a/src/components/sharing/userTeam.vue +++ b/src/components/sharing/userTeam.vue @@ -137,7 +137,7 @@ export default {name: 'userTeamShare'}