SignatureViewModelinterface

A callable signature (function or method definition).

Includes type parameters (generics), parameters, return type, and documentation.

Properties

docproperty

doc: DocNode[]

JSDoc/TSDoc comments.

parametersproperty

parameters: ParameterViewModel[]

Function/method parameters.

returnTypeproperty

returnType: TypeViewModel

Return type of this signature.

typeParametersproperty

typeParameters: TypeParameterViewModel[]

Generic type parameters (e.g., <T>, <K extends string>).