Skip to content

docs: use import type for type-only express and fastify imports - #3684

Merged
kamilmysliwiec merged 1 commit into
nestjs:masterfrom
helmipradita:docs/import-type-express-fastify
Oct 31, 2026
Merged

kamilmysliwiec merged 1 commit into
nestjs:masterfrom
helmipradita:docs/import-type-express-fastify

Conversation

@helmipradita

Copy link
Copy Markdown
Contributor

Following #3679, this PR converts type-only imports of Request, Response, NextFunction, FastifyRequest, and FastifyReply to import type across documentation code snippets.

This ensures consistency and prevents issues when developers enable TypeScript's verbatimModuleSyntax or isolatedModules.

@kamilmysliwiec
kamilmysliwiec merged commit b3fad73 into nestjs:master Oct 31, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants