mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-22 19:15:15 +00:00
Use typescript syntax
This commit is contained in:
parent
42bc092e71
commit
350e5327e1
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -7,7 +7,9 @@
|
|||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
export default {};
|
||||
import Vue from 'vue';
|
||||
|
||||
export default Vue.extend({});
|
||||
</script>
|
||||
|
||||
<style scoped></style>
|
||||
|
|
Loading…
Reference in New Issue
Block a user