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

[Enhancement] Move types for "Extras" outside of main types.d.ts #660

Open
jonobr1 opened this issue Aug 16, 2022 · 0 comments
Open

[Enhancement] Move types for "Extras" outside of main types.d.ts #660

jonobr1 opened this issue Aug 16, 2022 · 0 comments

Comments

@jonobr1
Copy link
Owner

jonobr1 commented Aug 16, 2022

Is your feature request related to a problem? Please describe.
The main types.d.ts currently has types for Two.ZUI, but not types for Two.Arc. This is because adding them creates conflicts for the documentation with Two.ArcSegment. Also, perhaps there isn't a need to bloat the types.d.ts file with information that developers may not use.

Describe the solution you'd like
Create a system / rule for defining types of modules in the /extras folder.

Additional context
See how other libraries handle this, like Three.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant