forked from TypeStrong/typedoc
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
3 changed files
with
56 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters