navigation-stack 0.5.1 → 0.5.2

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.
@@ -34,7 +34,7 @@ export class ScrollPositionRestoration<
34
34
  // Using this option, a developer could theoretically provide their own implementation
35
35
  // of setting a scroll position. For example, it could use "smooth" (animated) scrolling, etc.
36
36
  // This could be part of the public API if anyone provided a sensible real-world use case for it.
37
- _pageScrollPositionSetter: ScrollPositionSetter<
37
+ _pageScrollPositionSetter?: ScrollPositionSetter<
38
38
  ScrollableContainer,
39
39
  Anchor
40
40
  >;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "navigation-stack",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "Handles navigation in a web browser",
5
5
  "keywords": [
6
6
  "history",
@@ -34,7 +34,7 @@ export class ScrollPositionRestoration<
34
34
  // Using this option, a developer could theoretically provide their own implementation
35
35
  // of setting a scroll position. For example, it could use "smooth" (animated) scrolling, etc.
36
36
  // This could be part of the public API if anyone provided a sensible real-world use case for it.
37
- _pageScrollPositionSetter: ScrollPositionSetter<
37
+ _pageScrollPositionSetter?: ScrollPositionSetter<
38
38
  ScrollableContainer,
39
39
  Anchor
40
40
  >;