Skip to content
This repository was archived by the owner on Dec 2, 2025. It is now read-only.

Commit 21b693d

Browse files
fnandordohms
authored andcommitted
Fix warnings.
1 parent 137437d commit 21b693d

File tree

4 files changed

+14
-6
lines changed

4 files changed

+14
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"@typescript-eslint/eslint-plugin": "^5.10.2",
5353
"@typescript-eslint/parser": "^5.10.2",
5454
"babel-loader": "^8.2.3",
55-
"babel-plugin-module-resolver": "^4.1.0",
55+
"babel-plugin-module-resolver": "^5.0.0",
5656
"eslint": "^8.8.0",
5757
"jest": "^27.4.7",
5858
"jest-filename-transform": "^0.1.0",

src/cli/bundle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import path from "path";
33
import fs from "fs";
44
import imageSize from "image-size";
5-
import glob from "glob";
5+
import * as glob from "glob";
66
import { build } from "esbuild";
77
import zipdir from "zip-dir";
88
import { Action, Plugin, State } from "..";

src/cli/images.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import fs from "fs";
22
import path from "path";
3-
import glob from "glob";
3+
import * as glob from "glob";
44

55
const sourceDir = path.join(process.cwd(), "src");
66

src/events.ts

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,17 @@ export type KeyDownEvent<T = unknown> = ActionEvent<T>;
3939
export type KeyUpEvent<T = unknown> = ActionEvent<T>;
4040
export type WillAppearEvent<T = unknown> = ActionEvent<T>;
4141
export type WillDisappearEvent<T = unknown> = ActionEvent<T>;
42-
export type TouchTapEvent<T = unknown> = DialActionEvent<T> & {tapPos: number[], hold: boolean};
43-
export type DialPressEvent<T = unknown> = DialActionEvent<T> & {pressed: boolean};
44-
export type DialRotateEvent<T = unknown> = DialActionEvent<T> & {pressed: boolean, ticks: number} ;
42+
export type TouchTapEvent<T = unknown> = DialActionEvent<T> & {
43+
tapPos: number[];
44+
hold: boolean;
45+
};
46+
export type DialPressEvent<T = unknown> = DialActionEvent<T> & {
47+
pressed: boolean;
48+
};
49+
export type DialRotateEvent<T = unknown> = DialActionEvent<T> & {
50+
pressed: boolean;
51+
ticks: number;
52+
};
4553

4654
export interface TitleParametersDidChangeEvent<T = unknown>
4755
extends StreamDeckEvent {

0 commit comments

Comments
 (0)