Skip to content

Commit

Permalink
fix typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
hengkx authored and plrthink committed Aug 23, 2020
1 parent d3128d6 commit 66778d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ declare module 'react-native-zip-archive' {
}
import { NativeEventSubscription } from 'react-native';
export function isPasswordProtected(source: string): Promise<boolean>;
export function zip(source: string | [string], target: string): Promise<string>;
export function zipWithPassword(source: string | [string], target: string, password: string, encryptionMethod?: encryptionMethods): Promise<string>;
export function zip(source: string | string[], target: string): Promise<string>;
export function zipWithPassword(source: string | string[], target: string, password: string, encryptionMethod?: encryptionMethods): Promise<string>;
export function unzip(source: string, target: string, charset?: string): Promise<string>;
export function unzipWithPassword(assetPath: string, target: string, password: string): Promise<string>;
export function unzipAssets(assetPath: string, target: string): Promise<string>;
Expand Down

0 comments on commit 66778d5

Please sign in to comment.