From 79525af42e35f7975824f013ba5b9a33ffca2e2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Guti=C3=A9rrez?= <35082514+alezmad@users.noreply.github.com> Date: Tue, 7 Apr 2026 23:31:31 +0100 Subject: [PATCH] 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 --- apps/broker/src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/broker/src/types.ts b/apps/broker/src/types.ts index 1457171..02103de 100644 --- a/apps/broker/src/types.ts +++ b/apps/broker/src/types.ts @@ -692,7 +692,7 @@ export interface WSScheduleMessage { deliverAt: number; /** Optional semantic tag — "reminder" surfaces differently to the receiver. */ subtype?: "reminder"; - /** Standard 5-field cron expression for recurring delivery (e.g. "0 */2 * * *"). */ + /** Standard 5-field cron expression for recurring delivery. */ cron?: string; /** Whether this is a recurring schedule. Implied true when `cron` is set. */ recurring?: boolean;