We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 58200f9 + 1982f2b commit afd901dCopy full SHA for afd901d
index.d.ts
@@ -0,0 +1,8 @@
1
+declare module 'react-native-zip-archive' {
2
+ import { NativeEventSubscription } from 'react-native';
3
+ export function zip(source: string, target: string): Promise<string>;
4
+ export function unzip(source: string, target: string): Promise<string>;
5
+ export function unzipWithPassword(assetPath: string, target: string, passowrd: string): Promise<string>;
6
+ export function unzipAssets(assetPath: string, target: string): Promise<string>;
7
+ export function subscribe(callback: ({ progress: number, filePath: string })): NativeEventSubscription;
8
+}
0 commit comments