Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support enum-like objects with numeric literal values #1920

Commits on Apr 12, 2022

  1. Support enum-like objects with numeric literal values

    TypeDoc already supports enum-like objects with string literal values
    via TypeStrong#1675 and TypeStrong#1740. Enum-like objects with numeric literal values
    should also be supported, as they are a popular choice for developers
    wishing to avoid use of TypeScript enums.
    
    This PR adds support for such objects. Tests and a new example have
    been added to cover this type of object.
    
    Resolves TypeStrong#1918.
    ejuda committed Apr 12, 2022
    Configuration menu
    Copy the full SHA
    8b34045 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2022

  1. actually add tests

    ejuda committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    1030769 View commit details
    Browse the repository at this point in the history