chore: Update types

This commit is contained in:
BluJ
2023-04-25 10:32:02 -06:00
parent c355a9d2d9
commit 5e1d77b95d
12 changed files with 106 additions and 95 deletions

View File

@@ -2,4 +2,6 @@ import { TriggerInput } from "./TriggerInput";
export { changeOnFirstSuccess } from "./changeOnFirstSuccess";
export { cooldownTrigger } from "./cooldownTrigger";
export type Trigger = () => AsyncIterator<unknown, unknown, TriggerInput>;
export type Trigger = (
getInput: () => TriggerInput,
) => AsyncIterator<unknown, unknown, never>;