fix(workflow-dashboard): replace optional properties with T | null in handlers.ts

Per CLAUDE.md convention, use `string | null` instead of `?:` in the
isFirstConditionalSibling helper function parameter types.

Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
This commit is contained in:
2026-05-24 00:52:54 +08:00
parent 39e2ab7f0d
commit 5dc2352ac5
@@ -35,8 +35,8 @@ export const handlers = define.memoize((use, model) => {
}
function isFirstConditionalSibling(
edge: { id: string; source: string; type?: string },
allEdges: { id: string; source: string; type?: string }[],
edge: { id: string; source: string; type: string | null },
allEdges: { id: string; source: string; type: string | null }[],
): boolean {
if (edge.type !== "conditional") return false;
const siblings = allEdges.filter((e) => e.source === edge.source && e.type === "conditional");