gesturx 1.8.4 → 1.8.7

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.ts CHANGED
@@ -2,6 +2,11 @@ import { BehaviorSubject } from 'rxjs';
2
2
  import { Observable } from 'rxjs';
3
3
  import { ObservedValueOf } from 'rxjs';
4
4
 
5
+ export declare interface FailWith {
6
+ start$: Observable<unknown>;
7
+ end$: Observable<unknown>;
8
+ }
9
+
5
10
  declare type PanConfig = {
6
11
  posThreshold?: number;
7
12
  delay?: number;
@@ -165,10 +170,7 @@ export declare type RecognizerConfig<Options> = {
165
170
  container?: HTMLElement;
166
171
  afterEventReceived?: (event: PointerEvent) => PointerEvent;
167
172
  options?: Options;
168
- failWith?: {
169
- start$: Observable<unknown>;
170
- end$: Observable<unknown>;
171
- }[];
173
+ failWith?: FailWith[];
172
174
  };
173
175
 
174
176
  declare interface RecognizerEvent {