decorate-request-reply.test-d.ts — fastify Source File
Architecture documentation for decorate-request-reply.test-d.ts, a typescript file in the fastify codebase. 3 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 81d824ed_eef0_4330_a50d_62ae8641731c["decorate-request-reply.test-d.ts"] 2bf9986b_b7fb_0c78_f075_72fbe6f4672b["fastify.js"] 81d824ed_eef0_4330_a50d_62ae8641731c --> 2bf9986b_b7fb_0c78_f075_72fbe6f4672b 54cbea5e_a399_a298_5819_f2791a26c65c["fastify"] 81d824ed_eef0_4330_a50d_62ae8641731c --> 54cbea5e_a399_a298_5819_f2791a26c65c 1741b237_9033_f1d9_f91f_94ad04e621d4["tsd"] 81d824ed_eef0_4330_a50d_62ae8641731c --> 1741b237_9033_f1d9_f91f_94ad04e621d4 style 81d824ed_eef0_4330_a50d_62ae8641731c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import fastify from '../../fastify'
import { expectType } from 'tsd'
type TestType = void
declare module '../../fastify' {
interface FastifyRequest {
testProp: TestType;
}
interface FastifyReply {
testProp: TestType;
}
}
fastify().get('/', (req, res) => {
expectType<TestType>(req.testProp)
expectType<TestType>(res.testProp)
})
Domain
Classes
Dependencies
Source
Frequently Asked Questions
What does decorate-request-reply.test-d.ts do?
decorate-request-reply.test-d.ts is a source file in the fastify codebase, written in typescript. It belongs to the CoreKernel domain.
What does decorate-request-reply.test-d.ts depend on?
decorate-request-reply.test-d.ts imports 3 module(s): fastify, fastify.js, tsd.
Where is decorate-request-reply.test-d.ts in the architecture?
decorate-request-reply.test-d.ts is located at test/types/decorate-request-reply.test-d.ts (domain: CoreKernel, directory: test/types).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free