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

Use function shorthand in objects #5948

Merged
merged 2 commits into from
Jan 17, 2024
Merged

Use function shorthand in objects #5948

merged 2 commits into from
Jan 17, 2024

Conversation

willeastcott
Copy link
Contributor

Use the more succinct ES6-based function shorthand for functions declared in objects.

While this is generally better anyway, it does get around a problem in TypeDoc where namespaced functions don't show in the generated API reference (as of TypeDoc 0.25.4 - could be related to this: TypeStrong/typedoc#2436).

I confirm I have read the contributing guidelines and signed the Contributor License Agreement.

@willeastcott willeastcott merged commit 9c896e6 into main Jan 17, 2024
7 checks passed
@willeastcott willeastcott deleted the func-shorthand branch January 17, 2024 19:36
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.

2 participants