perf: 代码优化 所有的 interface 类型命名
This commit is contained in:
@@ -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
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user