aboutsummaryrefslogtreecommitdiff
path: root/src/pen-gestures
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2024-08-20 19:11:00 -0400
committerbobzel <zzzman@gmail.com>2024-08-20 19:11:00 -0400
commit5196009ec6bcb673fd2a4519c54442df218841f7 (patch)
tree79f4b1d559c20a6bfd9b4759a5cbe9d8f8c00fe1 /src/pen-gestures
parent0e975569e5686138e52bdc554b3f0391f42aeead (diff)
parente57584a1be9d428fb40fc789494a7ac0ac14fb84 (diff)
fixed up a bunch of things in face recognition
Diffstat (limited to 'src/pen-gestures')
-rw-r--r--src/pen-gestures/GestureUtils.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pen-gestures/GestureUtils.ts b/src/pen-gestures/GestureUtils.ts
index 28323d62f..bf5475042 100644
--- a/src/pen-gestures/GestureUtils.ts
+++ b/src/pen-gestures/GestureUtils.ts
@@ -2,14 +2,15 @@ import { Rect } from 'react-measure';
import { Gestures, PointData } from './GestureTypes';
import { NDollarRecognizer } from './ndollar';
+// eslint-disable-next-line @typescript-eslint/no-namespace
export namespace GestureUtils {
export class GestureEvent {
readonly gesture: Gestures;
readonly points: PointData[];
readonly bounds: Rect;
- readonly text?: any;
+ readonly text?: string;
- constructor(gesture: Gestures, points: PointData[], bounds: Rect, text?: any) {
+ constructor(gesture: Gestures, points: PointData[], bounds: Rect, text?: string) {
this.gesture = gesture;
this.points = points;
this.bounds = bounds;