mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-21 23:53:52 +00:00
refactor: exchangeSelect -> typescript definition
This commit is contained in:
parent
67d2d3f434
commit
5868a8775b
|
@ -1,12 +1,10 @@
|
|||
<script setup lang="ts">
|
||||
import { useBotStore } from '@/stores/ftbotwrapper';
|
||||
|
||||
import { ExchangeSelection } from '@/types';
|
||||
import type { ExchangeSelection } from '@/types';
|
||||
|
||||
const exchangeModel = defineModel<ExchangeSelection>({ required: true });
|
||||
|
||||
const exchangeModel = defineModel({
|
||||
type: Object as () => ExchangeSelection,
|
||||
required: true,
|
||||
});
|
||||
const botStore = useBotStore();
|
||||
|
||||
const exchangeList = computed(() => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user