resolveSignature
Resolves the first callable signature from a reflection by following
reference and conditional type chains. Handles properties whose type
is a reference to a function type alias (e.g.
listen: ListenType
).
Import
import { resolveSignature } from "@docsgen/core"
Source
Package
Parameters
resolveSignature(reflection: SomeReflection, reflectionsTree: ProjectReflection[])
Parameters
| Name | Type | Description |
|---|---|---|
| reflection | | |
| reflectionsTree | |
Returns
undefined | SignatureReflection
