fix: rag-chat controller Response 改为 import type 修复 isolatedModules 编译错误
All checks were successful
Deploy API Server / build-and-deploy (push) Successful in 43s

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
wangdl 2026-06-06 14:56:13 +08:00
parent 6f77162cf8
commit aea071e4c9

View File

@ -1,6 +1,6 @@
import { Controller, Get, Post, Delete, Body, Param, Res } from '@nestjs/common'; import { Controller, Get, Post, Delete, Body, Param, Res } from '@nestjs/common';
import { ApiTags, ApiOperation, ApiBearerAuth } from '@nestjs/swagger'; import { ApiTags, ApiOperation, ApiBearerAuth } from '@nestjs/swagger';
import { Response } from 'express'; import type { Response } from 'express';
import { RagChatService } from './rag-chat.service'; import { RagChatService } from './rag-chat.service';
import { CurrentUser } from '../../common/decorators/current-user.decorator'; import { CurrentUser } from '../../common/decorators/current-user.decorator';
import type { UserPayload } from '../../common/types'; import type { UserPayload } from '../../common/types';