Skip to content

Commit

Permalink
try fix typong action
Browse files Browse the repository at this point in the history
  • Loading branch information
tachibana-shin committed Aug 12, 2023
1 parent 258381c commit 6133e57
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/components/library/LibraryTabOffline.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
<li v-for="item in list" :key="item.ref.ep_id" class="py-2">
<EpControl
:data="item.ref"

Check failure on line 53 in src/components/library/LibraryTabOffline.vue

View workflow job for this annotation

GitHub Actions / Run Type Checking

Type 'MetaEpisodeOnDisk' is not assignable to type '{ ep_name: string; downloaded: number; pages: number[]; }'.
:downloading="(item as unknown as TaskDownload).downloading"
@stop=";(item as unknown as TaskDownload).stop"
:downloading="(item as unknown as any).downloading"
@stop=";(item as unknown as any).stop"
@resume="IDMStore.resumeDownload(metaMangaShowInfo, item)"
/>
</li>
Expand All @@ -65,8 +65,6 @@
<script lang="ts" setup>
import type { UnwrapRef } from "vue"

type TaskDownload = ReturnType<typeof createTaskDownloadEpisode>

const IDMStore = useIDMStore()

IDMStore.runLoadInMemory()
Expand Down

0 comments on commit 6133e57

Please sign in to comment.