Skip to content

HttpModule Type Error #3

@tcelestino-splitwave

Description

@tcelestino-splitwave

Describe the bug

In the latest @nestjs/common (11.1.2) version, the HttpModule does not work as expected because there is a type error Type 'DynamicModule' is not assignable to type 'Type<any>'

To Reproduce
Steps to reproduce the behavior:

  1. install packages:
  • @nestjs/common@11.1.2
  • @nestjs/config@4.0.2
  • @nestjs/core@11.1.2
  • @nestjs/microservices@11.1.2
  • @nestjs/platform-express@11.1.2
  • @nodeflip/nest-axios-http@1.0.3

Expected behavior
There is no type error.

Screenshots

Image

Desktop (please complete the following information):

  • OS: Ubuntu 24.04.3 LTS
  • Node: 22.10.0
  • NestJS: 11.1.2
  • @nodeflip/nest-axios-http: 1.0.3

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions