Skip to content

Commit

Permalink
chore(web): Merge branch 'chore/web/remove-no-implicit-any' into chor…
Browse files Browse the repository at this point in the history
…e/web/strict-func-types
  • Loading branch information
jahorton committed May 29, 2024
2 parents a94c511 + f34fd85 commit 6b09de1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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<string>;
};

before(async function() {
const emulatedContactPoint = new GestureSource<string>(1, null, true);
Expand Down
3 changes: 0 additions & 3 deletions common/web/gesture-recognizer/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +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,
"noUnusedLocals": false,
"strictFunctionTypes": false,
"noImplicitReturns": false
},
"include": ["./src/engine/**/*.ts"],
Expand Down

0 comments on commit 6b09de1

Please sign in to comment.