Skip to content

Commit d4e114a

Browse files
authored
fix(utils): Exported default exports as is, modified them to be exported as named (#506)
Summary: ReactNativeAsyncStorageCache and PersistentKeyValueCache both are exported as default. They were exported as default from index too which did not work and was incorrect even if it worked. modified them to be exported as named from index. Test plan: Unit tests should pass
1 parent a8ef17f commit d4e114a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/utils/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,5 +152,5 @@ export interface NotificationCenter {
152152
sendNotifications(notificationType: NOTIFICATION_TYPES, notificationData?: any): void
153153
}
154154

155-
export * from './persistentKeyValueCache'
156-
export * from './reactNativeAsyncStorageCache'
155+
export { default as PersistentKeyValueCache } from './persistentKeyValueCache'
156+
export { default as ReactNativeAsyncStorageCache } from './reactNativeAsyncStorageCache'

0 commit comments

Comments
 (0)