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

feat: separate constructors from methods for type literals and interfaces #568

Merged
merged 3 commits into from Apr 30, 2024

Conversation

crowlKats
Copy link
Member

@crowlKats crowlKats commented Apr 29, 2024

having constructors be methods called new makes it difficult for the html generator to render in a proper manner. example of problem when being a method:
image

one option would be to instead separate methods that called new in the html, but doesnt seem desirable, especially as that wouldnt separate between actual method called new and constructors.

@crowlKats crowlKats changed the title feat: separate constructors from methods for type literals and interf… feat: separate constructors from methods for type literals and interfaces Apr 29, 2024
@dsherret
Copy link
Member

Can you update the PR description with the reason for the change? It breaks the json output I think?

@crowlKats
Copy link
Member Author

crowlKats commented Apr 29, 2024

It breaks the json output I think?

you are right. i'll add a default serialize for supporting existing jsons

Copy link
Member

@dsherret dsherret left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@crowlKats crowlKats enabled auto-merge (squash) April 30, 2024 18:38
@crowlKats crowlKats merged commit b5a91af into main Apr 30, 2024
5 checks passed
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.

None yet

2 participants