diff --git a/common/web/gesture-recognizer/src/test/auto/headless/gestures/pathMatcher.spec.ts b/common/web/gesture-recognizer/src/test/auto/headless/gestures/pathMatcher.spec.ts index 60a749fd4fe..4678efed715 100644 --- a/common/web/gesture-recognizer/src/test/auto/headless/gestures/pathMatcher.spec.ts +++ b/common/web/gesture-recognizer/src/test/auto/headless/gestures/pathMatcher.spec.ts @@ -5,7 +5,7 @@ import * as PromiseStatusModule from 'promise-status-async'; const PromiseStatuses = PromiseStatusModule.PromiseStatuses; import { assertingPromiseStatus as promiseStatus } from '../../../resources/assertingPromiseStatus.js'; -import { InputSample, GestureSource, gestures } from '@keymanapp/gesture-recognizer'; +import { InputSample, GestureSource, gestures, CumulativePathStats } from '@keymanapp/gesture-recognizer'; import { timedPromise } from '@keymanapp/web-utils'; import { @@ -141,7 +141,15 @@ describe("PathMatcher", function() { }); describe("Second stage", async function() { - let commonBase; + let commonBase: { + samples: { + targetX: number; + targetY: number; + t: number; + item: string; + }[]; + stats: CumulativePathStats; + }; before(async function() { const emulatedContactPoint = new GestureSource(1, null, true); diff --git a/common/web/gesture-recognizer/src/test/auto/headless/pathStats.ts b/common/web/gesture-recognizer/src/test/auto/headless/pathStats.spec.ts similarity index 100% rename from common/web/gesture-recognizer/src/test/auto/headless/pathStats.ts rename to common/web/gesture-recognizer/src/test/auto/headless/pathStats.spec.ts diff --git a/common/web/gesture-recognizer/tsconfig.json b/common/web/gesture-recognizer/tsconfig.json index 75439fe51ac..94107f2de59 100644 --- a/common/web/gesture-recognizer/tsconfig.json +++ b/common/web/gesture-recognizer/tsconfig.json @@ -11,8 +11,6 @@ // but existing code in web/ breaks some of these settings // // At present, the code actually compiles without them... but the TS tests are a different matter. - "noImplicitAny": false, - "strictFunctionTypes": false, "noImplicitReturns": false }, "include": ["./src/engine/**/*.ts"],