Skip to content

Commit 8666792

Browse files
committed
remove tiny typed emitter
1 parent abbb6a4 commit 8666792

File tree

3 files changed

+7
-20
lines changed

3 files changed

+7
-20
lines changed

package-lock.json

Lines changed: 3 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@crowbartools/firebot-custom-scripts-types",
3-
"version": "5.53.2-4",
3+
"version": "5.53.2-5",
44
"description": "Types for Firebot's Custom Scripts",
55
"main": "",
66
"scripts": {
@@ -27,8 +27,7 @@
2727
"@types/express": "^4.17.1",
2828
"@types/node": "^16.0.0",
2929
"fs-extra": "^10.0.0",
30-
"moment": "^2.24.0",
31-
"tiny-typed-emitter": "^2.1.0"
30+
"moment": "^2.24.0"
3231
},
3332
"volta": {
3433
"node": "14.18.1",

types/modules/integration-manager.d.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { TypedEmitter } from "tiny-typed-emitter";
21
import {
32
FirebotParameterCategories,
43
FirebotParams,
@@ -47,13 +46,13 @@ export type IntegrationDefinition<
4746
| { linkType: "other" | "none" }
4847
);
4948

50-
interface IntegrationEvents {
49+
export interface IntegrationEvents {
5150
connected: (id: string) => void;
5251
disconnected: (id: string) => void;
5352
"settings-update": (id: string, settings: Record<string, any>) => void;
5453
}
5554

56-
export class IntegrationEventEmitter extends TypedEmitter<IntegrationEvents> {}
55+
// export class IntegrationEventEmitter extends TypedEmitter<IntegrationEvents> {}
5756

5857
type LinkData =
5958
| {

0 commit comments

Comments
 (0)