refactor(types): make WebC component exports explicit - #414
Merged
RSS1102 merged 2 commits intoAug 20, 2026
Conversation
Contributor
|
Size Change: 0 B Total Size: 486 kB ℹ️ View Unchanged
|
@tdesign/web-components
@tdesign/web-components-chat
commit: |
Contributor
|
Size Change: 0 B Total Size: 881 kB ℹ️ View Unchanged
|
16 tasks
…ocs' into rss1102/converge-shared-types
This was referenced Aug 20, 2026
Member
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤔 这个 PR 的性质是?
🔗 相关 Issue
💡 需求背景和解决方案
组件入口使用
export * from './type'时,type.ts未来新增的内部类型会自动进入公共 API。本 PR 将 31 个基础组件和 6 个 Chat 组件入口改为显式 type-only 导出清单。import type+export type兼容当前声明构建链。验证结果:
pnpm run check:typespnpm run check:packgit diff --checktype.ts现有导出声明。风险:预期没有用户侧 breaking change;真实 tarball 的 UI/Chat 根入口与组件 subpath 消费检查通过。React/Vue 当前仍使用 #409 做早期迁移验证,合并前必须切换到本 PR 的
pkg.pr.new并重新执行完整 CI。#409 合并后,本 PR 再将 base 改回next。📝 更新日志
refactor(types): 将 WebC 组件公共类型入口改为显式导出清单
本条 PR 不需要纳入 Changelog
☑️ 请求合并前的自查清单