fix(Wait Node): Allow wait node to accept 0 waiting time input (#19159)

Co-authored-by: Elias Meire <elias@meire.dev>
This commit is contained in:
Antoine Bellion
2025-09-04 21:49:26 +02:00
committed by GitHub
parent 63672ad797
commit 59684039ee
3 changed files with 23 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
export function validateWaitAmount(amount: unknown): amount is number {
return typeof amount === 'number' && amount > 0;
return typeof amount === 'number' && amount >= 0;
}
export type WaitUnit = 'seconds' | 'minutes' | 'hours' | 'days';