🚨 Fix typescript lint
This commit is contained in:
parent
031c3dee3b
commit
8af78a26ba
@ -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) {
|
||||||
|
Reference in New Issue
Block a user