Skip to content

Commit 40916a6

Browse files
fix: 修正 weixin barrel export 中 interface 的导出方式
ChannelPermissionRequestParams 是纯类型,必须用 export type 导出, 否则 Bun 运行时会报 "export not found" 错误。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 5ed0e63 commit 40916a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/weixin/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,13 @@ export type {
9696

9797
// Permission state
9898
export {
99-
ChannelPermissionRequestParams,
10099
setActivePermissionChat,
101100
getActivePermissionChat,
102101
savePendingPermission,
103102
consumePendingPermission,
104103
} from './permissions.js'
105104
export type {
105+
ChannelPermissionRequestParams,
106106
PendingPermissionRequest,
107107
ActivePermissionChat,
108108
} from './permissions.js'

0 commit comments

Comments
 (0)