🚨 Fix typescript lint

This commit is contained in:
LittleSheep 2024-04-02 23:20:21 +08:00
parent 031c3dee3b
commit 8af78a26ba

View File

@ -17,7 +17,7 @@
<script setup lang="ts"> <script setup lang="ts">
import PostItem from "@/components/posts/PostItem.vue" import PostItem from "@/components/posts/PostItem.vue"
const props = defineProps<{ variant?: string, posts: any[]; loader: (opts: any) => Promise<any> }>() const props = defineProps<{ variant?: any, posts: any[]; loader: (opts: any) => Promise<any> }>()
const emits = defineEmits(["update:posts"]) const emits = defineEmits(["update:posts"])
function updateItem(idx: number, data: any) { function updateItem(idx: number, data: any) {