Explorar o código

fix(yongren-order-management-ui): 删除已修复的类型错误注释

- 移除 enterpriseOrderClient.ts 中不再需要的 @ts-expect-error 指令
- 该类型错误已在之前的 refactor(rpc-client) 中修复

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
yourname hai 17 horas
pai
achega
b509d177ce

+ 0 - 1
mini-ui-packages/yongren-order-management-ui/src/api/enterpriseOrderClient.ts

@@ -3,5 +3,4 @@ import { rpcClient } from '@d8d/mini-shared-ui-components/utils/rpc/rpc-client';
 
 // 注意:企业专用订单API通过enterpriseAuthMiddleware中间件保护,确保仅限企业用户访问
 // 路径前缀 /api/v1/yongren/order 在路由层配置
-// @ts-expect-error: OpenAPIHono with AuthContext has incompatible type constraints
 export const enterpriseOrderClient = rpcClient<typeof enterpriseOrderRoutes>('/api/v1/yongren/order');