Commit 9e9e7bf
fix: add prettier-ignore to preserve JSDoc cast parens for TypeScript
The @type {any} JSDoc cast requires parentheses: `/** @type {any} */ (expr)`.
Without them TypeScript does not treat it as a cast and reports a type error.
Prettier was stripping the parens — add `// prettier-ignore` (same pattern
used in assign_agent_helpers.cjs) to preserve them so `tsc --noEmit` passes.
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/6b0f8428-4bb0-4473-9541-b9cf98602b4d1 parent 687d692 commit 9e9e7bf
2 files changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
697 | 697 | | |
698 | 698 | | |
699 | 699 | | |
| 700 | + | |
| 701 | + | |
700 | 702 | | |
701 | | - | |
| 703 | + | |
702 | 704 | | |
703 | 705 | | |
704 | 706 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
351 | | - | |
| 351 | + | |
352 | 352 | | |
353 | 353 | | |
354 | | - | |
| 354 | + | |
355 | 355 | | |
356 | 356 | | |
357 | 357 | | |
| |||
0 commit comments