@nemigo/helpers 0.11.3 → 0.11.4
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/html.d.ts +1 -1
- package/package.json +1 -1
package/dist/html.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ export declare const preventStopHook: <T extends Event = Event>(call?: CanBeNull
|
|
|
37
37
|
* @param usePreventStop - Условие для вызова {@link preventStop}
|
|
38
38
|
* @param condition - Условие для вызова основного коллбэка
|
|
39
39
|
*/
|
|
40
|
-
export declare const enterKeyHook: <T extends
|
|
40
|
+
export declare const enterKeyHook: <T extends KeyboardEvent = KeyboardEvent>(call?: CanBeNullable<(e: T) => CanBePromise>, { onkeydown, usePreventStop, condition, }?: {
|
|
41
41
|
onkeydown?: (e: T) => void;
|
|
42
42
|
usePreventStop?: "enter" | unknown | ((e: T, isEnter: boolean) => unknown);
|
|
43
43
|
condition?: ((e: T) => unknown) | unknown;
|