Commit 8c632eb
committed
fix: add type guard for conditionals property in client
Use 'in' operator to properly narrow ActionConfig type before accessing
conditionals property. Some action types (like READ) don't have conditionals,
so we need a type guard to satisfy TypeScript's stricter checking.1 parent 94e4ac0 commit 8c632eb
File tree
1 file changed
+5
-1
lines changed- packages/client/src/v2-events/features/workqueues/EventOverview/components
1 file changed
+5
-1
lines changedLines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
640 | 640 | | |
641 | 641 | | |
642 | 642 | | |
643 | | - | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
644 | 648 | | |
645 | 649 | | |
646 | 650 | | |
| |||
0 commit comments