Skip to content

Commit 1ace084

Browse files
committed
chore: run prettier
1 parent c08a96a commit 1ace084

4 files changed

Lines changed: 12 additions & 8 deletions

File tree

types/modules/effect-manager.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ import { Effects } from "../effects";
22
import EffectType = Effects.EffectType;
33

44
export type EffectManager = {
5-
getEffectById: <EffectModel>(effectId: string) => EffectType<EffectModel> | undefined;
5+
getEffectById: <EffectModel>(
6+
effectId: string
7+
) => EffectType<EffectModel> | undefined;
68
registerEffect: <EffectModel>(effectType: EffectType<EffectModel>) => void;
79
};

types/modules/effect-runner.d.ts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
1-
import {Effects} from "../effects";
1+
import { Effects } from "../effects";
22
import Trigger = Effects.Trigger;
33

44
type EffectRunnerOutput = {
55
success: boolean;
66
stopEffectExecution: boolean;
77
outputs: Record<string, any>;
8-
} | null // When sending effects to a queue
8+
} | null; // When sending effects to a queue
99

1010
type ProcessEffectsRequest = {
1111
trigger: Trigger;
1212
effects: any;
13-
}
13+
};
1414

1515
export type EffectRunner = {
1616
/**
1717
* Runs effects from the "effect-list" HTML element.
1818
* @param processEffectsRequest
1919
*/
20-
processEffects: (processEffectsRequest: ProcessEffectsRequest) => Promise<EffectRunnerOutput>
21-
}
20+
processEffects: (
21+
processEffectsRequest: ProcessEffectsRequest
22+
) => Promise<EffectRunnerOutput>;
23+
};

types/modules/firebot-parameters.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,4 +242,4 @@ export type FirebotParams = Record<string, Record<string, unknown>>;
242242

243243
export type FirebotParameterCategories<Config extends FirebotParams> = {
244244
[Category in keyof Config]: FirebotParamCategory<Config[Category]>;
245-
};
245+
};

types/modules/resource-token-manager.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ export type ResourceTokenManager = {
1010
* @param length Duration of resource token in seconds after first time accessing it.
1111
*/
1212
storeResourcePath: (path: string, length: number) => string;
13-
}
13+
};

0 commit comments

Comments
 (0)