From 4e741a0523220c7a6dd3fd27b9b3b95f3a7fb8f1 Mon Sep 17 00:00:00 2001 From: tobegold574 <2386340403@qq.com> Date: Thu, 20 Nov 2025 13:53:25 +0800 Subject: [PATCH] =?UTF-8?q?fix(types):=20=E4=BF=AE=E5=A4=8D=E5=86=85?= =?UTF-8?q?=E9=83=A8=E7=B1=BB=E5=9E=8B=E6=96=87=E4=BB=B6=E6=9C=AA=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 把所有.d.ts改为.ts BREAKING CHANGES: 1.1.0->1.1.1(latest) --- README.md | 5 ++++- api/{types.d.ts => types.ts} | 0 auth/{types.d.ts => types.ts} | 1 - 3 files changed, 4 insertions(+), 2 deletions(-) rename api/{types.d.ts => types.ts} (100%) rename auth/{types.d.ts => types.ts} (97%) 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,