Skip to content

Commit 942e65d

Browse files
committed
Merge branch 'main' of github.com:nestcn/docs.nestjs.cn
2 parents cf07414 + c21d84a commit 942e65d

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

docs/faq/errors.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
```bash
1212
Nest 无法解析 <provider> 的依赖项(?)。请确保索引 [<index>] 处的参数 <unknown_token><module> 上下文中可用。
13+
```
1314

1415
可能的解决方案:
1516
- <module> 是一个有效的 NestJS 模块吗?

docs/techniques/streaming-files.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ import { Controller, Get, StreamableFile, Res } from '@nestjs/common';
5353
import { createReadStream } from 'fs';
5454
import { join } from 'path';
5555
import type { Response } from 'express'; // 假设我们使用的是 ExpressJS HTTP 适配器
56+
```
5657

5758
@Controller('file')
5859
export class FileController {

docs/techniques/versioning.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ const extractor = (request: FastifyRequest): string | string[] =>
113113
.filter(v => !!v)
114114
.sort()
115115
.reverse()
116+
```
116117

117118
const app = await NestFactory.create(AppModule);
118119
app.enableVersioning({

0 commit comments

Comments
 (0)