diff --git a/index.d.ts b/index.d.ts index d8bc5b9..71ba8d9 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1 +1,7 @@ -export default function convert(url: string): string; +declare module 'react-native-video-cache' { + function convert(url: string): string; + function convertAsync(url: string): Promise; + + export default convert; + export const convertAsync; +}