Home / File/ using.test-d.ts — fastify Source File

using.test-d.ts — fastify Source File

Architecture documentation for using.test-d.ts, a typescript file in the fastify codebase. 2 imports, 0 dependents.

File typescript CoreKernel LifecycleManager 2 imports 2 functions

Entity Profile

Dependency Diagram

graph LR
  93c9cfdb_fe62_4d50_261c_95c6ee03b1dd["using.test-d.ts"]
  2bf9986b_b7fb_0c78_f075_72fbe6f4672b["fastify.js"]
  93c9cfdb_fe62_4d50_261c_95c6ee03b1dd --> 2bf9986b_b7fb_0c78_f075_72fbe6f4672b
  1741b237_9033_f1d9_f91f_94ad04e621d4["tsd"]
  93c9cfdb_fe62_4d50_261c_95c6ee03b1dd --> 1741b237_9033_f1d9_f91f_94ad04e621d4
  style 93c9cfdb_fe62_4d50_261c_95c6ee03b1dd fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { expectAssignable } from 'tsd'
import fastify, { FastifyInstance } from '../../fastify'

async function hasSymbolDisposeWithUsing () {
  await using app = fastify()
  expectAssignable<FastifyInstance>(app)
  expectAssignable<FastifyInstance[typeof Symbol.asyncDispose]>(app.close)
}

async function hasSymbolDispose () {
  const app = fastify()
  expectAssignable<FastifyInstance>(app)
  expectAssignable<FastifyInstance[typeof Symbol.asyncDispose]>(app.close)
}

hasSymbolDisposeWithUsing()
hasSymbolDispose()

Domain

Subdomains

Dependencies

Frequently Asked Questions

What does using.test-d.ts do?
using.test-d.ts is a source file in the fastify codebase, written in typescript. It belongs to the CoreKernel domain, LifecycleManager subdomain.
What functions are defined in using.test-d.ts?
using.test-d.ts defines 2 function(s): hasSymbolDispose, hasSymbolDisposeWithUsing.
What does using.test-d.ts depend on?
using.test-d.ts imports 2 module(s): fastify.js, tsd.
Where is using.test-d.ts in the architecture?
using.test-d.ts is located at test/types/using.test-d.ts (domain: CoreKernel, subdomain: LifecycleManager, directory: test/types).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free