Skip to content

Commit 68fa78c

Browse files
pvburgerplrthink
authored andcommitted
Updated EncryptionMethods enum in index.d.ts to address issue #327
1 parent 5832515 commit 68fa78c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

index.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
declare module 'react-native-zip-archive' {
2-
enum encryptionMethods {
3-
'STANDARD',
4-
'AES-128',
5-
'AES-256'
2+
enum EncryptionMethods {
3+
STANDARD = "STANDARD",
4+
AES_128 = "AES-128",
5+
AES_256 = "AES-256"
66
}
77
import { NativeEventSubscription } from 'react-native';
88
export function isPasswordProtected(source: string): Promise<boolean>;

0 commit comments

Comments
 (0)