Skip to content

ReturnData

Represents the parsed result of @returns tags in JSDoc. Used to describe return value information of functions.

Signature

typescript
interface ReturnData { type: string; name?: string; description: string; properties?: PropertyData[] }

Parameters

  • typeRequired · string

    Type of the return value

  • name · string

    Optional name of the return value

  • descriptionRequired · string

    Description of the return value

  • properties · PropertyData[]

    Array of property information if the return value is an object

Released under the MIT License.