Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/fundamentals/provider-scopes.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ The `REQUEST` provider is inherently request-scoped, so you don't need to specif
```typescript
import { Injectable, Scope, Inject } from '@nestjs/common';
import { REQUEST } from '@nestjs/core';
import { Request } from 'express';
import type { Request } from 'express';

@Injectable({ scope: Scope.REQUEST })
export class CatsService {
Expand Down
4 changes: 2 additions & 2 deletions content/http/mvc.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ If the application logic must dynamically decide which template to render, use t
```typescript
@@filename(app.controller)
import { Get, Controller, Res, Render } from '@nestjs/common';
import { Response } from 'express';
import type { Response } from 'express';
import { AppService } from './app.service.js';

@Controller()
Expand Down Expand Up @@ -284,7 +284,7 @@ Alternatively, you can use the `@Res()` decorator to inject the response directl

```typescript
import { Get, Res } from '@nestjs/common';
import { FastifyReply } from 'fastify';
import type { FastifyReply } from 'fastify';

@Get()
root(@Res() res: FastifyReply) {
Expand Down
Loading