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

JsDoc: improve type hinting for constructors #30382

Merged
merged 1 commit into from
Jan 22, 2025
Merged

Conversation

s-rigaud
Copy link
Contributor

Description

By moving JSDoc definition next to the constructor we actually get some type hinting working for linter and IDEs.

Before:

image

After:

image

@Mugen87 Mugen87 merged commit f958a13 into mrdoob:dev Jan 22, 2025
11 checks passed
@Mugen87 Mugen87 added this to the r173 milestone Jan 22, 2025
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