Skip to content

Typed initialize arguments #2

Description

@cgcostume

Moved from webgl-operate

Since Typescript does not tell me what i should put in the initialize methods of the various classes. Is there a way to find that out reliably? Right now i am just looking the examples up.
Maybe adding those to the code as a comment or a type would be helpful!
— @milanpro

You can see the concrete arguments in the protected create method of each class (in the generated docs, choose Public/Protected at the top to see it).
We're aware that this is not the best interface and are considering to refactor the initialization so we can put the types directly on initialize.
— @bwasty

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions