Skip to content

Commit e681d0a

Browse files
committed
fix: update type signature of set() - third argument is an options object
1 parent 6c5bcef commit e681d0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ declare module 'react-native-secure-key-store' {
1313

1414
interface RNSecureKeyStore {
1515
get: (key: string) => Promise<any>
16-
set: (key: string, value: string, accessible?: ACCESSIBLE) => Promise<any>
16+
set: (key: string, value: string, options?: { accessible?: ACCESSIBLE }) => Promise<any>
1717
remove: (key: string) => Promise<any>
1818
setResetOnAppUninstallTo: (enabled: boolean) => boolean
1919
}

0 commit comments

Comments
 (0)