1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-24 06:28:42 +01:00

chore: clean up types

This commit is contained in:
Amir Raminfar
2023-08-28 11:11:44 -07:00
parent 617bf71cad
commit fcf60daafa

View File

@@ -9,8 +9,8 @@
</template>
<script lang="ts" setup>
const { onLoadMore = () => {}, enabled } = defineProps<{
onLoadMore: () => void;
const { onLoadMore = () => Promise.resolve(), enabled } = defineProps<{
onLoadMore: () => Promise<void>;
enabled: boolean;
}>();