diff --git a/common/web/gesture-recognizer/src/engine/headless/gestures/matchers/pathMatcher.ts b/common/web/gesture-recognizer/src/engine/headless/gestures/matchers/pathMatcher.ts index e7ffc11f66..419687f8e6 100644 --- a/common/web/gesture-recognizer/src/engine/headless/gestures/matchers/pathMatcher.ts +++ b/common/web/gesture-recognizer/src/engine/headless/gestures/matchers/pathMatcher.ts @@ -23,7 +23,7 @@ type PathUpdateResult = PathMatchResult | PathNotFulfilled; export class PathMatcher { private timerPromise?: TimeoutPromise; - private model: ContactModel; + private model: ContactModel; private source: SimpleGestureSource; private readonly publishedPromise: ManagedPromise @@ -32,7 +32,7 @@ export class PathMatcher { return this.publishedPromise.corePromise; } - constructor(model: ContactModel, source: SimpleGestureSource) { + constructor(model: ContactModel, source: SimpleGestureSource) { /* c8 ignore next 3 */ if(!model || !source) { throw new Error("A gesture-path source and contact-path model must be specified."); diff --git a/common/web/gesture-recognizer/src/test/auto/headless/gestures/isolatedPathSpecs.ts b/common/web/gesture-recognizer/src/test/auto/headless/gestures/isolatedPathSpecs.ts index 32404c54c5..2d52863ab9 100644 --- a/common/web/gesture-recognizer/src/test/auto/headless/gestures/isolatedPathSpecs.ts +++ b/common/web/gesture-recognizer/src/test/auto/headless/gestures/isolatedPathSpecs.ts @@ -1,6 +1,7 @@ import { gestures } from '@keymanapp/gesture-recognizer'; import specs = gestures.specs; -import ContactModel = specs.ContactModel; + +type ContactModel = specs.ContactModel; export const InstantRejectionModel: ContactModel = { itemPriority: 0,