Skip to content
This repository has been archived by the owner on Apr 4, 2022. It is now read-only.

[proxy] Improve proxy typings #52

Open
5 tasks
hmans opened this issue Feb 4, 2021 · 0 comments
Open
5 tasks

[proxy] Improve proxy typings #52

hmans opened this issue Feb 4, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@hmans
Copy link
Owner

hmans commented Feb 4, 2021

In its current version, the typings provided by the proxy package are relatively basic. They're smart enough to be able to provide a list of attributes that should be exposed per Three.js object instance, but there's a number of conversions we should be applying there for properties that can take multiple three-elements-specific inputs, like:

  • Vector3 and Euler should be string | number[]
  • Scalars should be string | number
  • etc...?
  • See Trinity for implementation

Also, further improvements include:

  • Provide information which classes are actually being exposed by the proxy
@hmans hmans added the enhancement New feature or request label Feb 4, 2021
@hmans hmans changed the title [proxy] Improve typings [proxy] Improve proxy typings Feb 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant