Skip to main content

render_signature()

Render the declaration with the omissions that typing pages need

Usage

Source

render_signature()

A typing-variable page leaves out the name, and a type alias leaves out its TypeAlias annotation.

Returns

BlockContent
The declaration in a doc-signature division.