Skip to content

Commit 4ceaf2f

Browse files
Merge pull request #3329 from DjebbZ/patch-1
docs(controller): Add missing `type` to express' `Request` import
2 parents 719e08a + 039627c commit 4ceaf2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/controllers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Handlers often need access to the client’s **request** details. Nest provides
7878
```typescript
7979
@@filename(cats.controller)
8080
import { Controller, Get, Req } from '@nestjs/common';
81-
import { Request } from 'express';
81+
import type { Request } from 'express';
8282

8383
@Controller('cats')
8484
export class CatsController {

0 commit comments

Comments
 (0)