Skip to content

Commit 6c5bcef

Browse files
committed
fix(types): update const initializer to enum in typedef
1 parent 4ba25de commit 6c5bcef

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

index.d.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
declare module 'react-native-secure-key-store' {
2-
export const ACCESSIBLE = {
3-
AFTER_FIRST_UNLOCK: 'AccessibleAfterFirstUnlock',
4-
AFTER_FIRST_UNLOCK_THIS_DEVICE_ONLY:
2+
export enum ACCESSIBLE {
3+
AFTER_FIRST_UNLOCK = 'AccessibleAfterFirstUnlock',
4+
AFTER_FIRST_UNLOCK_THIS_DEVICE_ONLY =
55
'AccessibleAfterFirstUnlockThisDeviceOnly',
6-
ALWAYS: 'AccessibleAlways',
7-
ALWAYS_THIS_DEVICE_ONLY: 'AccessibleAlwaysThisDeviceOnly',
8-
WHEN_PASSCODE_SET_THIS_DEVICE_ONLY:
6+
ALWAYS = 'AccessibleAlways',
7+
ALWAYS_THIS_DEVICE_ONLY = 'AccessibleAlwaysThisDeviceOnly',
8+
WHEN_PASSCODE_SET_THIS_DEVICE_ONLY =
99
'AccessibleWhenPasscodeSetThisDeviceOnly',
10-
WHEN_UNLOCKED: 'AccessibleWhenUnlocked',
11-
WHEN_UNLOCKED_THIS_DEVICE_ONLY: 'AccessibleWhenUnlockedThisDeviceOnly',
10+
WHEN_UNLOCKED = 'AccessibleWhenUnlocked',
11+
WHEN_UNLOCKED_THIS_DEVICE_ONLY = 'AccessibleWhenUnlockedThisDeviceOnly',
1212
}
1313

1414
interface RNSecureKeyStore {

0 commit comments

Comments
 (0)