Commit ee59b2d
fix(config): drop unparseable @type annotation that broke npm run def
The Array-of-object-literal form
/** @type {Array<{ fn: (cfg: object) => void, ran: boolean }>} */
is invalid JSDoc syntax for the version of jsdoc this repo's `npm run def`
runs through (it doesn't parse object-literal type expressions inside
generic params). Result: jsdoc bailed, def generation failed, both
"test (20.x)" and the runner test that calls `npm run def` went red.
The annotation was decoration only — the hook list is internal state.
Replace with a plain comment, ship the doc-regen of plugins.md the
def task produced.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 5a3be25 commit ee59b2d
2 files changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
395 | | - | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
396 | 399 | | |
397 | 400 | | |
398 | 401 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
0 commit comments