Skip to content

Commit 87e9843

Browse files
committed
Add an index.doc.ts file that includes all exports for auto-generated docs
1 parent 99414a5 commit 87e9843

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

packages-exp/auth-exp/index.doc.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// Internal index that pulls in all the different platforms, for documentation
2+
// generation purposes only.
3+
4+
// Core (Browser) index
5+
export * from './index';
6+
7+
export { cordovaPopupRedirectResolver } from './index.cordova';
8+
export { reactNativeLocalPersistence } from './index.rn';

packages-exp/auth-exp/index.rn.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ import { getReactNativePersistence } from './src/platform_react_native/persisten
3535
// Core functionality shared by all clients
3636
export * from './src';
3737

38+
/**
39+
* An implementation of {@link Persistence} of type 'LOCAL' for use in React
40+
* Native environments.
41+
*
42+
* @public
43+
*/
3844
export const reactNativeLocalPersistence =
3945
getReactNativePersistence(AsyncStorage);
4046

0 commit comments

Comments
 (0)