Use typescript syntax

This commit is contained in:
Matthias 2020-10-25 10:35:19 +01:00
parent 42bc092e71
commit 350e5327e1
3 changed files with 11 additions and 6 deletions

View File

@ -13,11 +13,12 @@
</div>
</template>
<script>
<script lang="ts">
import Vue from 'vue';
import { mapActions, mapState } from 'vuex';
import DailyChart from '@/components/charts/DailyChart.vue';
export default {
export default Vue.extend({
name: 'DailyStats',
components: {
DailyChart,
@ -39,5 +40,5 @@ export default {
methods: {
...mapActions('ftbot', ['getDaily']),
},
};
});
</script>

View File

@ -8,7 +8,9 @@
</template>
<script lang="ts">
export default {
import Vue from 'vue';
export default Vue.extend({
name: 'ValuePair',
props: {
description: {
@ -16,7 +18,7 @@ export default {
required: true,
},
},
};
});
</script>
<style scoped>

View File

@ -7,7 +7,9 @@
</template>
<script lang="ts">
export default {};
import Vue from 'vue';
export default Vue.extend({});
</script>
<style scoped></style>