Client - refactor app types and interfaces
This commit is contained in:
parent
6b848228ca
commit
1d7cb5c9ee
@ -19,7 +19,8 @@
|
||||
|
||||
<script lang="ts">
|
||||
import { PropType, defineComponent, ref } from 'vue'
|
||||
import { IDropdownOption, TDropdownOptions } from '@/types'
|
||||
import { IDropdownOption } from '@/interfaces'
|
||||
import { TDropdownOptions } from '@/types'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'Dropdown',
|
||||
|
@ -60,7 +60,7 @@
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useStore } from 'vuex'
|
||||
|
||||
import { IDropdownOption } from '@/types'
|
||||
import { IDropdownOption } from '@/interfaces'
|
||||
import Dropdown from '@/components/Common/Dropdown.vue'
|
||||
|
||||
export default defineComponent({
|
||||
|
@ -2,5 +2,3 @@ export interface IDropdownOption {
|
||||
value: string | number
|
||||
label: string
|
||||
}
|
||||
|
||||
export type TDropdownOptions = IDropdownOption[]
|
3
fittrackee_client/src/types.ts
Normal file
3
fittrackee_client/src/types.ts
Normal file
@ -0,0 +1,3 @@
|
||||
import { IDropdownOption } from '@/interfaces'
|
||||
|
||||
export type TDropdownOptions = IDropdownOption[]
|
@ -1,3 +0,0 @@
|
||||
export interface IDefaultState {
|
||||
language: string
|
||||
}
|
Loading…
Reference in New Issue
Block a user