Skip to content

RFC: @defaultValue to indicate a default value #27

Open
@octogonz

Description

@octogonz

In API Extractor issue #720 @RueDeRennes asked about supporting @default to indicate a default value.

Some questions:

  • Should this be part of core TSDoc?
  • Should the tag be @default or @defaultValue?
  • Should it apply only to properties and fields? What about function parameters?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions