Fix types

This commit is contained in:
Zoe Roux 2023-12-19 14:23:54 +01:00
parent 14540081be
commit 78e30cd516

View File

@ -21,6 +21,7 @@
import { WatchInfo, kyooApiUrl, queryFn, toQueryKey } from "@kyoo/models";
import { Player } from "../player";
import { getCurrentAccount } from "@kyoo/models/src/account-internal";
import { ReactNode } from "react";
export const useDownloader = () => {
return async (type: "episode" | "movie", slug: string) => {
@ -46,3 +47,6 @@ export const useDownloader = () => {
a.click();
};
};
export const DownloadPage = () => {};
export const DownloadProvider = ({ children }: { children: ReactNode }) => children;