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

Add internal-first sort strategy #2418

Merged
merged 2 commits into from
Oct 28, 2023

Conversation

rsanchez
Copy link
Contributor

@rsanchez rsanchez commented Oct 23, 2023

I have a use case for displaying internal properties before external/inherited properties. This PR adds internal-first as a sort strategy.

Companion documentation PR: TypeStrong/typedoc-site#68

Verified

This commit was signed with the committer’s verified signature. The key has expired.
AustinAbro321 Austin Abro
@Gerrit0
Copy link
Collaborator

Gerrit0 commented Oct 28, 2023

Thanks for the PR! I have some concerns with the naming -- "internal" is not the same as "non-external", the function you've added should really be called external-last, an internal-first name would sort reflections marked with @internal before those without that annotation.

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
@rsanchez
Copy link
Contributor Author

@Gerrit0 Thanks for the feedback. I agree that external-last is a more apt name. I've updated this PR with the new name and also updated companion PR for the docs site.

@Gerrit0 Gerrit0 merged commit 325233c into TypeStrong:master Oct 28, 2023
@Gerrit0
Copy link
Collaborator

Gerrit0 commented Oct 28, 2023

Perfect, thanks!

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