hybrid-navigation 2.16.2-beta.2 → 2.16.2-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
- declare const Navigation: import("./Navigation").Navigation;
1
+ import type { Navigation } from './Navigation';
2
+ declare const Navigation: Navigation;
2
3
  export default Navigation;
3
4
  export { RESULT_OK, RESULT_CANCEL } from './Navigation';
4
5
  export { statusBarHeight, toolbarHeight, topBarHeight } from './GardenModule';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hybrid-navigation",
3
3
  "description": "React Native Navigation that supports seamless navigation between Native and React.",
4
- "version": "2.16.2-beta.2",
4
+ "version": "2.16.2-beta.3",
5
5
  "main": "./lib/index.js",
6
6
  "typings": "./lib/index.d.ts",
7
7
  "react-native": "src/index",
package/src/index.ts CHANGED
@@ -1,7 +1,8 @@
1
1
  import { withNavigation } from './NavigationComponentWrap'
2
2
  import navigation from './Navigation'
3
+ import type { Navigation } from './Navigation'
3
4
  navigation.setNavigationComponentWrap(withNavigation)
4
- const Navigation = navigation
5
+ const Navigation: Navigation = navigation
5
6
  export default Navigation
6
7
  export { RESULT_OK, RESULT_CANCEL } from './Navigation'
7
8
  export { statusBarHeight, toolbarHeight, topBarHeight } from './GardenModule'