@sohanemon/utils 7.3.9 → 7.3.10
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/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -175,7 +175,7 @@ type Selector = string | React.RefObject<HTMLDivElement>;
|
|
|
175
175
|
* const el = resolveSelector(containerRef);
|
|
176
176
|
* ```
|
|
177
177
|
*/
|
|
178
|
-
declare const resolveSelector: (selector?: Selector) => HTMLElement;
|
|
178
|
+
declare const resolveSelector: (selector?: Selector | null) => HTMLElement;
|
|
179
179
|
/**
|
|
180
180
|
* Smoothly scrolls to the top or bottom of a specified container.
|
|
181
181
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -175,7 +175,7 @@ type Selector = string | React.RefObject<HTMLDivElement>;
|
|
|
175
175
|
* const el = resolveSelector(containerRef);
|
|
176
176
|
* ```
|
|
177
177
|
*/
|
|
178
|
-
declare const resolveSelector: (selector?: Selector) => HTMLElement;
|
|
178
|
+
declare const resolveSelector: (selector?: Selector | null) => HTMLElement;
|
|
179
179
|
/**
|
|
180
180
|
* Smoothly scrolls to the top or bottom of a specified container.
|
|
181
181
|
*
|