diff --git a/README.md b/README.md index e50f15a..1ae312f 100644 --- a/README.md +++ b/README.md @@ -133,4 +133,7 @@ knowai-core/ ### 2025-11-18 - 添加热门帖子、榜单、热门作者接口 - 完成api-documentation.md文档,详细描述所有接口的功能、参数、响应格式等 -- 修复类型未导出问题 \ No newline at end of file +- 修复类型未导出问题 + +### 2025-11-19 +- 把所有.d.ts改成.ts,避免无js生成问题 \ No newline at end of file diff --git a/api/types.d.ts b/api/types.ts similarity index 100% rename from api/types.d.ts rename to api/types.ts diff --git a/auth/types.d.ts b/auth/types.ts similarity index 97% rename from auth/types.d.ts rename to auth/types.ts index 27a3155..8b18f34 100644 --- a/auth/types.d.ts +++ b/auth/types.ts @@ -2,7 +2,6 @@ * 认证模块类型定义 */ -import type { AxiosRequestConfig } from 'axios'; import type { User } from '@/types'; import type { LoginRequest,