fix(broker): remove cron example from JSDoc that broke TSC

The "0 */2 * * *" cron example inside a /** comment caused TSC to
parse */ as end-of-comment, producing syntax errors.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Alejandro Gutiérrez
2026-04-07 23:31:31 +01:00
parent 69e93d4b8c
commit 79525af42e

View File

@@ -692,7 +692,7 @@ export interface WSScheduleMessage {
deliverAt: number; deliverAt: number;
/** Optional semantic tag — "reminder" surfaces differently to the receiver. */ /** Optional semantic tag — "reminder" surfaces differently to the receiver. */
subtype?: "reminder"; subtype?: "reminder";
/** Standard 5-field cron expression for recurring delivery (e.g. "0 */2 * * *"). */ /** Standard 5-field cron expression for recurring delivery. */
cron?: string; cron?: string;
/** Whether this is a recurring schedule. Implied true when `cron` is set. */ /** Whether this is a recurring schedule. Implied true when `cron` is set. */
recurring?: boolean; recurring?: boolean;