perf: 代码优化 所有的 interface 类型命名

This commit is contained in:
pany
2023-05-21 09:51:41 +08:00
parent 6cca254335
commit 05712f4adc
19 changed files with 61 additions and 61 deletions

View File

@@ -1,10 +1,10 @@
<script lang="ts" setup>
import { type PropType } from "vue"
import { type IListItem } from "./data"
import { type ListItem } from "./data"
const props = defineProps({
list: {
type: Object as PropType<IListItem[]>,
type: Object as PropType<ListItem[]>,
required: true
}
})