Skip to content

refactor: 💡 type section is redundant and not formatted #1327

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

Conversation

andrewdelprete
Copy link
Contributor

When an object is flow typed, a type AND properties section is
rendered. The type section seems redundant and isn't formatted, whereas
the properties section is. This PR removes the type section when
dealing with an object type.

Closes: #1326

When an object is flow typed, a `type` AND `properties` section is
rendered. The type section seems redundant and isn't formatted, whereas
the properties section is. This PR removes the `type` section when
dealing with an object type.

✅ Closes: documentationjs#1326
@tmcw tmcw merged commit 2da9d6f into documentationjs:master Jun 4, 2020
@andrewdelprete andrewdelprete deleted the remove-type-section-when-object-type branch June 4, 2020 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove type section output when dealing with objects
2 participants