[v7] 重复的 MoreLinkInfo 导出会覆盖更多链接点击回调类型
作者: martinreder创建于 2026年8月26日更新于 2026年8月26日
• 减少测试大小写
https://stackblintz.com/edit/more-link-info-issue-repro?file=src%2Fapp%2Fapp.ts 互联网档案馆的存檔,存档日期2013-12-2.
你明白如果不提供减员的试车箱 我们会故意拖延你的车票
- [x]我明白了
您使用的是哪个连接器( 反应/ Angular/ etc) ?
角质
QQ 错误描述
在FullCalendar 7.0.2中,公开出口的 " MoreLinkInfo " 类型并不代表向`MoreLinkClick ' 调回的论据。
问题是出口碰撞:
- Click-handler 类型:多链接-公用类型.ts(https://GitHub.com/fullcalendar/fullcalendar/blob/main/packages/presact/src/common/更链接-公用类型.ts)
- 同名的Render-hook类型:MoreLinkContainer.tsx(https://GitHub.com/fullcalendar/fullcalendar/blob/main/packages/preact/src/common/MoreLinkContainer.tsx) 互联网档案馆的存檔,存档日期2014-12-22.
- 两者均在此出口:api/structs.ts(https://GitHub.com/fullcalendar/fullcalendar/blob/main/packages/pract/src/api/structs.ts)
导出类型 { moreLinkInfo} 从 './ common/ moreLinkContainer' 中导出 {./ common/ moreLinkContainer}
导出 * 从'./common/ more-link-public-types' 中导出清晰的 compare-hook 导出阴影显示点击手 MoreLinkInfo 从多链接-public-types.ts导出
内容来源: fullcalendar/fullcalendar