Skip to content

Commit e4f2479

Browse files
committed
fix typescript defination missing parameters
1 parent 76fb2bb commit e4f2479

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

index.d.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,8 @@ declare module MMKVStorage {
376376
encrypt(
377377
key: string,
378378
secureKeyStorage: boolean,
379-
alias: string
379+
alias: string,
380+
accessibleMode:ACCESSIBLE
380381
): Promise<boolean>;
381382

382383
/**
@@ -396,7 +397,8 @@ declare module MMKVStorage {
396397
changeEncryptionKey(
397398
key: string,
398399
secureKeyStorage: boolean,
399-
alias: string
400+
alias: string,
401+
accessibleMode:ACCESSIBLE
400402
): Promise<boolean>;
401403
}
402404

0 commit comments

Comments
 (0)