Commit e4b9251
committed
Fix neverBundle callback signature to match tsdown v0.22.0 API
The neverBundle callback's second parameter should be `parentId?: string`
(optional) per tsdown/rolldown's ExternalOptionFunction type, not
`importer: string | undefined` (required). While TypeScript's callback
compatibility allows passing fewer parameters, aligning the name and
optionality with the documented API makes the intent clearer and avoids
any future type mismatch if the type is checked strictly.
#766 (comment)
Assisted-by: Claude Code:claude-sonnet-4-61 parent b0b663b commit e4b9251
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
0 commit comments